CVE-2019-14859:
Improper Verification of Cryptographic Signature in Pure-Python ECDSA
9.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
4/1/2020
Updated
9/20/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ecdsa | pip | < 0.13.3 | 0.13.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper DER encoding validation. The commit diff shows critical additions to remove_integer
(checks for zero-padding in integers) and read_length
(minimal length encoding validation). These functions directly handled DER parsing but lacked strict encoding rules enforcement pre-patch. The added tests in test_der.py
explicitly target these failure modes, confirming their role in the vulnerability.