CVE-2019-9153: Message Signature Bypass in openpgp
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57619%
CWE
Published
8/23/2019
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
openpgp | npm | <= 4.1.2 | 4.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper signature type validation during message verification. The commit 327d3e5 shows the fix was adding a filter to only accept 'text' or 'binary' signature types in createVerificationObjects. The test case in message_signature_bypass.js demonstrates how replacing a text signature with a standalone signature would be accepted without this filter. The function's pre-patch behavior of processing all signature types without type validation directly enabled the signature bypass.