CVEfocus › CVE database › CVE-2019-11841

CVE-2019-11841

CVSS 5.9 MediumEPSS 2.0% (higher than 81% of CVEs)Published 2019-05-22Updated 2024-08-04Assigner: mitre

A message-forgery issue was discovered in crypto/openpgp/clearsign/clearsign.go in supplementary Go cryptography libraries 2019-03-25. According to the OpenPGP Message Format specification in RFC 4880 chapter 7, a cleartext signed message can contain one or more optional "Hash" Armor Headers. The "Hash" Armor Header specifies the message digest algorithm(s) used for the signature. However, the Go clearsign package ignores the value of this header, which allows an attacker to spoof it. Consequently, an attacker can lead a victim to believe the signature was generated using a different message digest algorithm than what was actually used. Moreover, since the library skips Armor Header parsing in general, an attacker can not only embed arbitrary Armor Headers, but also prepend arbitrary text to cleartext messages without invalidating the signatures.

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04snapdNot affected
vulnerable_code_not_present
Ubuntu 25.10golang-go.cryptoNot affected
vulnerable_code_not_present
Ubuntu 25.10snapdNot affected
vulnerable_code_not_present
Ubuntu 24.04snapdNot affected
vulnerable_code_not_present
Ubuntu 22.04snapdNot affected
vulnerable_code_not_present
Ubuntu 18.04golang-go.cryptoFix pendingUBUNTU-CVE-2019-11841
Ubuntu 16.04golang-go.cryptoFix pendingUBUNTU-CVE-2019-11841
Ubuntu 16.04snapdNot affected
vulnerable_code_not_present
Debian 14golang-go.cryptoFixed1:0.0~git20200221.2aa609c-1DEBIAN-CVE-2019-11841
Debian 13golang-go.cryptoFixed1:0.0~git20200221.2aa609c-1DEBIAN-CVE-2019-11841
Debian 12golang-go.cryptoFixed1:0.0~git20200221.2aa609c-1DEBIAN-CVE-2019-11841
Go librarygolang.org/x/cryptoFixed0.0.0-20190424203555-c05e17bb3b2dGO-2023-1992

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.