Skip to content

CVE-2019-11841 Golang/x/crypto message forgery vulnerability

MediumCVSS 5.9 EPSS 2.0% Public exploit
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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