Improper Verification of Cryptographic Signature Affecting k3d package, versions <5.6.0-r11


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.87% (84th 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-WOLFILATEST-K3D-6593419
  • published9 Apr 2024
  • disclosed22 May 2019

Introduced: 22 May 2019

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

How to fix?

Upgrade Wolfi k3d to version 5.6.0-r11 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream k3d package and not the k3d package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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 Scores

version 3.1