Improper Verification of Cryptographic Signature Affecting golang.org/x/crypto/openpgp/clearsign package, versions <0.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GOLANGORGXCRYPTOOPENPGPCLEARSIGN-5813980
  • published2 Aug 2023
  • disclosed24 May 2022
  • creditAida Mynzhasova

Introduced: 24 May 2022

CVE-2019-11841  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade golang.org/x/crypto/openpgp/clearsign to version 0.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the crypto/openpgp/clearsign/clearsign.go component. An attacker can spoof the 'Hash' Armor Header, leading a victim to believe the signature was generated using a different message digest algorithm than what was actually used. Moreover, the attacker can prepend arbitrary text to cleartext messages without invalidating the signatures.

CVSS Base Scores

version 3.1