CVE-2019-11841
Golang/x/crypto message forgery vulnerability
Record from NVD · Published May 22, 2019
golang.org/x/crypto/openpgp/clearsign is fixed in 0.1.0 (Go Modules)
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.
EPSS 2.00% · 81.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| golang.org/x/crypto/openpgp/clearsign | Go Modules | 0.1.0 |
| golang.org/x/crypto | Go Modules | 0.0.0-20190424203555-c05e17bb3b2d |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| golang | crypto | 2019-03-25 |
| debian | debian_linux | 8.0, 9.0 |
Timeline
- May 22, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 20, 2026 Security Advisory
- Sep 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-11841
vulnetix vdb fixes CVE-2019-11841
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-11841/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://go.googlesource.com/crypto/ vendor
- https://sec-consult.com/ advisory
- http://packetstormsecurity.com/files/152840/Go-Cryptography-Libraries-Cleartext-Message-Spoofing.html exploit
- https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html advisory
- https://lists.debian.org/debian-lts-announce/2019/09/msg00011.html advisory
- https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html advisory
- https://sec-consult.com/en/blog/advisories/cleartext-message-spoofing-in-go-cryptography-libraries-cve-2019-11841/ exploit