CVE-2019-14859
Improper Verification of Cryptographic Signature in Pure-Python ECDSA
critical entropyCVE-2019-14859GHSA-8qxj-f9rh-9fg2
Entropy / wallet impact
ecdsa: A flaw was found in all python-ecdsa versions before 0.13.3, where it did not correctly verify whether signatures used DER encoding.
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.
Affected
| Kind | Name | Ecosystem | Versions |
|---|---|---|---|
| package | ecdsa | pip | < 0.13.3 |
| package | ecdsa | PyPI | introduced=0,fixed=0.13.3 |
CWE
Primary sources
- https://github.com/advisories/GHSA-8qxj-f9rh-9fg2 (ghsa)
- https://nvd.nist.gov/vuln/detail/CVE-2019-14859 (ghsa)
- https://github.com/warner/python-ecdsa/issues/114 (ghsa)
- https://github.com/warner/python-ecdsa/pull/115 (ghsa)
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14859 (ghsa)
- https://github.com/warner/python-ecdsa/releases/tag/python-ecdsa-0.13.3 (ghsa)
- https://github.com/tlsfuzzer/python-ecdsa/commit/3427fa29f319b27898a28601955807abb44c0830 (ghsa)
- https://github.com/tlsfuzzer/python-ecdsa/commit/9080d1d5ac533da0de00466aaffb49bee808bb4e (ghsa)
- https://github.com/tlsfuzzer/python-ecdsa/commit/b0ea52bb3aa9a16c9a4a91fdc0041edbfed10b31 (ghsa)
- https://github.com/pypa/advisory-database/tree/main/vulns/ecdsa/PYSEC-2020-163.yaml (ghsa)
- https://pypi.org/project/ecdsa/0.13.3 (ghsa)
- https://github.com/warner/python-ecdsa (osv)