CVE-2019-11841

Aliases:GHSA-x3jr-pf6g-c48fGO-2023-1992
Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 22 May 2019, 00:00
Last modified:04 Aug 2024, 23:03

Vulnerability Summary

Overall Risk (default)
medium
34/100
CVSS Score
5.9 MEDIUM
v3.1 (nvd)
EPSS Score
0.4% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

22 May 2019, 00:00
Published
Vulnerability first disclosed
04 Aug 2024, 23:03
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
  • v2.0MEDIUMScore: 4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.40% Percentile: 61%

Techniques & Countermeasures

  • CWE-347Improper Verification of Cryptographic Signature

    The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Affected Systems

  • debiandebian_linux

    8.0 | 9.0

  • golangcrypto

    2019-03-25

  • golang.org/xcrypto

    < 0.0.0-20190424203555-c05e17bb3b2d

References (15)