{"id":"UBUNTU-CVE-2024-23342","details":"The `ecdsa` PyPI package is a pure Python implementation of ECC (Elliptic Curve Cryptography) with support for ECDSA (Elliptic Curve Digital Signature Algorithm), EdDSA (Edwards-curve Digital Signature Algorithm) and ECDH (Elliptic Curve Diffie-Hellman). Versions 0.18.0 and prior are vulnerable to the Minerva attack. As of time of publication, no known patched version exists.","modified":"2026-05-20T16:08:45.974243731Z","published":"2024-01-23T00:15:00Z","upstream":["CVE-2024-23342"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-23342"},{"type":"REPORT","url":"https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-wj6h-64fc-37mp"},{"type":"REPORT","url":"https://minerva.crocs.fi.muni.cz/"},{"type":"REPORT","url":"https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.md"},{"type":"REPORT","url":"https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-23342"}],"affected":[{"package":{"name":"python-ecdsa","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-ecdsa?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13-2","0.13-2ubuntu0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-ecdsa","binary_version":"0.13-2ubuntu0.16.04.1"},{"binary_version":"0.13-2ubuntu0.16.04.1","binary_name":"python3-ecdsa"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23342.json"}},{"package":{"name":"python-ecdsa","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-ecdsa?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13-2","0.13-2ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.13-2ubuntu0.18.04.1","binary_name":"python-ecdsa"},{"binary_name":"python3-ecdsa","binary_version":"0.13-2ubuntu0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23342.json"}},{"package":{"name":"python-ecdsa","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-ecdsa?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.2-2","0.13.3-1","0.14.1-1","0.14.1-1ubuntu2","0.15-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-ecdsa","binary_version":"0.15-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23342.json"}},{"package":{"name":"python-ecdsa","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-ecdsa?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.1-1","0.18.0~b1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-ecdsa","binary_version":"0.18.0~b1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23342.json"}},{"package":{"name":"python-ecdsa","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-ecdsa?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.0-3","0.18.0-4","0.18.0-5"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-ecdsa","binary_version":"0.18.0-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23342.json"}},{"package":{"name":"python-ecdsa","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-ecdsa?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-ecdsa","binary_version":"0.19.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23342.json"}},{"package":{"name":"python-ecdsa","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-ecdsa?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.19.1-1","binary_name":"python3-ecdsa"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23342.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}