CVE-2019-11841: Golang/x/crypto message forgery vulnerability
5.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59311%
CWE
Published
5/24/2022
Updated
10/2/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
golang.org/x/crypto | go | < 0.0.0-20190424203555-c05e17bb3b2d | 0.0.0-20190424203555-c05e17bb3b2d |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the Decode
function's failure to properly handle Armor Headers as specified in RFC 4880. The commit c05e17bb3b2d
shows critical validation was added to: 1) Reject non-Hash headers 2) Check for control characters 3) Validate
header formatting 4) Verify message structure integrity. The original implementation's lack of these validations made header spoofing and message injection possible. The Decode
function is directly responsible for parsing signed messages, making it the clear vulnerable entry point.