CVE-2019-11841 Golang/x/crypto message forgery vulnerability
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-go.crypto(Ubuntu Pro 16.04) | = 1:0.0~git20150608-1; = 1:0.0~git20151201.0.7b85b09-2; = 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1; = 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm2 +2 more | No fix listed | No fix yet |
| ubuntu/golang-go.crypto(Ubuntu Pro 18.04) | = 1:0.0~git20170629.0.5ef0053-1ubuntu1; = 1:0.0~git20170629.0.5ef0053-1ubuntu2; = 1:0.0~git20170629.0.5ef0053-2; = 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1 +3 more | No fix listed | No fix yet |
| debian/golang-go.crypto(Debian 12) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 | Fixed |
| debian/golang-go.crypto(Debian 13) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 | Fixed |
| debian/golang-go.crypto(Debian 14) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 | Fixed |
| golang.org/x/crypto(Go) | < 0.0.0-20190424203555-c05e17bb3b2d | 0.0.0-20190424203555-c05e17bb3b2d | Fixed |
| debian linux | = 8.0; = 9.0 | No fix listed | Versions listed |
| golang crypto | = 2019-03-25 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang.org/x/crypto(Go) | < 0.0.0-20190424203555-c05e17bb3b2d | 0.0.0-20190424203555-c05e17bb3b2d |
| debian/golang-go.crypto(Debian:12) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 |
| debian/golang-go.crypto(Debian:13) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 |
| debian/golang-go.crypto(Debian:14) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 |
| golang crypto | = 2019-03-25 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:16.04) | = 1:0.0~git20150608-1 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:16.04) | = 1:0.0~git20151201.0.7b85b09-2 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:16.04) | = 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:16.04) | = 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm2 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:16.04) | = 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:18.04) | = 1:0.0~git20170629.0.5ef0053-1ubuntu1 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:18.04) | = 1:0.0~git20170629.0.5ef0053-1ubuntu2 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:18.04) | = 1:0.0~git20170629.0.5ef0053-2 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:18.04) | = 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:18.04) | = 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2 | No fix listed |
| ubuntu/golang-go.crypto(Ubuntu:Pro:18.04) | = 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- [debian-lts-announce] 20190913 [SECURITY] [DLA 1920-1] golang-go.crypto security update mailing-list third-party-advisory
- [debian-lts-announce] 20201007 [SECURITY] [DLA 2402-1] golang-go.crypto security update mailing-list third-party-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- [debian-lts-announce] 20230616 [SECURITY] [DLA 3455-1] golang-go.crypto security update mailing-list
- github.com patch
- groups.google.com
- web.archive.org
- go-review.git.corp.google.com patch
- go.googlesource.com patch
- pkg.go.dev
- github.com
- github.com product
- Debian Security Tracker CVE-2019-11841 vendor-advisory
- go.googlesource.com product third-party-advisory
- sec-consult.com third-party-advisory
- sec-consult.com exploit issue-tracking third-party-advisory
- ubuntu.com issue-tracking
- groups.google.com issue-tracking
- www.cve.org issue-tracking