CVE-2019-11841
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | golang-go.crypto | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | golang-go.crypto | Fix pending | UBUNTU-CVE-2019-11841 | |
| Ubuntu 16.04 | golang-go.crypto | Fix pending | UBUNTU-CVE-2019-11841 | |
| Ubuntu 16.04 | snapd | Not affected vulnerable_code_not_present | ||
| Debian 14 | golang-go.crypto | Fixed | 1:0.0~git20200221.2aa609c-1 | DEBIAN-CVE-2019-11841 |
| Debian 13 | golang-go.crypto | Fixed | 1:0.0~git20200221.2aa609c-1 | DEBIAN-CVE-2019-11841 |
| Debian 12 | golang-go.crypto | Fixed | 1:0.0~git20200221.2aa609c-1 | DEBIAN-CVE-2019-11841 |
| Go library | golang.org/x/crypto | Fixed | 0.0.0-20190424203555-c05e17bb3b2d | GO-2023-1992 |
References
- https://sec-consult.com/
- https://go.googlesource.com/crypto/
- http://packetstormsecurity.com/files/152840/Go-Cryptography-Libraries-Cleartext-Message-Spoofing.html
- https://sec-consult.com/en/blog/advisories/cleartext-message-spoofing-in-go-cryptography-libraries-cve-2019-11841/
- https://lists.debian.org/debian-lts-announce/2019/09/msg00011.html
- https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html
- https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html
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.