CVE-2019-11841
A message-forgery issue was discovered in crypto/openpgp/clearsign/cle ...
Overview
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-347
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | golang.org/x/crypto | <0.0.0-20190424203555-c05e17bb3b2d | 0.0.0-20190424203555-c05e17bb3b2d |
Open a package to see all its vulnerabilities.
Operating systems · 11 fixes
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| dex-k8s-authenticator | not affected | |
| k3d | 5.6.0-r11 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-go-crypto | 1:0.0~git20181203.505ab14-1+deb10u1 |
| 11 | golang-go-crypto | 1:0.0~git20200221.2aa609c-1 |
| 12 | golang-go-crypto | 1:0.0~git20200221.2aa609c-1 |
| 13 | golang-go-crypto | 1:0.0~git20200221.2aa609c-1 |
| 14 | golang-go-crypto | 1:0.0~git20200221.2aa609c-1 |
| 9 | golang-go-crypto | 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1+deb8u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-go-crypto | 1:0.0~git20200221.2aa609c-1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-go-crypto | affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| k3d | 5.6.0-r11 |
References
- packetstormsecurity.com http://packetstormsecurity.com/files/152840/Go-Cryptography-Libraries-Cleartext-Message-Spoofing.html
- go-review.git.corp.google.com https://go-review.git.corp.google.com/c/crypto/+/173778
- go.googlesource.com https://go.googlesource.com/crypto/
- go.googlesource.com https://go.googlesource.com/crypto/+/c05e17bb3b2dca130fc919668a96b4bec9eb9442
- groups.google.com https://groups.google.com/d/msg/golang-openpgp/6vdgZoTgbIY/K6bBY9z3DAAJ
- groups.google.com https://groups.google.com/forum/#!msg/golang-openpgp/6vdgZoTgbIY/K6bBY9z3DAAJ
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/09/msg00011.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html
- pkg.go.dev https://pkg.go.dev/vuln/GO-2023-1992
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.