warner/python-ecdsa · Security
Improper Verification of Cryptographic Signature in Pure-Python ECDSA
- GHSA ID
- GHSA-8qxj-f9rh-9fg2
- CVE ID
- CVE-2019-14859
- Severity
- critical
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Description
A flaw was found in all python-ecdsa versions before 0.13.3, where it did not correctly verify whether signatures used DER encoding. Without this verification, a malformed signature could be accepted, making the signature malleable. Without proper verification, an attacker could use a malleable signature to create false transactions.
CWEs
- CWE-347 · Improper Verification of Cryptographic Signature
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-14859 ↗
- https://github.com/warner/python-ecdsa/issues/114 ↗
- https://github.com/warner/python-ecdsa/pull/115 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14859 ↗
- https://github.com/warner/python-ecdsa/releases/tag/python-ecdsa-0.13.3 ↗
- https://github.com/tlsfuzzer/python-ecdsa/commit/3427fa29f319b27898a28601955807abb44c0830 ↗
- https://github.com/tlsfuzzer/python-ecdsa/commit/9080d1d5ac533da0de00466aaffb49bee808bb4e ↗
- https://github.com/tlsfuzzer/python-ecdsa/commit/b0ea52bb3aa9a16c9a4a91fdc0041edbfed10b31 ↗
- https://github.com/advisories/GHSA-8qxj-f9rh-9fg2 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/ecdsa/PYSEC-2020-163.yaml ↗
- https://pypi.org/project/ecdsa/0.13.3 ↗