{"id":"UBUNTU-CVE-2022-24884","details":"ecdsautils is a tiny collection of programs used for ECDSA (keygen, sign, verify). `ecdsa_verify_[prepare_]legacy()` does not check whether the signature values `r` and `s` are non-zero. A signature consisting only of zeroes is always considered valid, making it trivial to forge signatures. Requiring multiple signatures from different public keys does not mitigate the issue: `ecdsa_verify_list_legacy()` will accept an arbitrary number of such forged signatures. Both the `ecdsautil verify` CLI command and the libecdsautil library are affected. The issue has been fixed in ecdsautils 0.4.1. All older versions of ecdsautils (including versions before the split into a library and a CLI utility) are vulnerable.","modified":"2026-02-05T14:27:04.155891Z","published":"2022-05-06T00:15:00Z","related":["USN-6239-1"],"upstream":["CVE-2022-24884"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-24884"},{"type":"REPORT","url":"https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw"},{"type":"REPORT","url":"https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08"},{"type":"REPORT","url":"https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08"},{"type":"REPORT","url":"https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6239-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-24884"}],"affected":[{"package":{"name":"ecdsautils","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ecdsautils@0.3.2+git20151018-2ubuntu0.16.04.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2ubuntu0.16.04.1~esm1"}]}],"versions":["0.3.2+git20151018-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ecdsautils","binary_version":"0.3.2+git20151018-2ubuntu0.16.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24884.json"}},{"package":{"name":"ecdsautils","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ecdsautils@0.3.2+git20151018-2ubuntu0.18.04.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2ubuntu0.18.04.1~esm1"}]}],"versions":["0.3.2+git20151018-2","0.3.2+git20151018-2build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"0.3.2+git20151018-2ubuntu0.18.04.1~esm1","binary_name":"ecdsautils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24884.json"}},{"package":{"name":"ecdsautils","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ecdsautils@0.3.2+git20151018-2+deb10u1build0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb10u1build0.20.04.1"}]}],"versions":["0.3.2+git20151018-2build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ecdsautils","binary_version":"0.3.2+git20151018-2+deb10u1build0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24884.json"}},{"package":{"name":"ecdsautils","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ecdsautils@0.3.2+git20151018-2+deb10u1build0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2+git20151018-2+deb10u1build0.22.04.1"}]}],"versions":["0.3.2+git20151018-2build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ecdsautils","binary_version":"0.3.2+git20151018-2+deb10u1build0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24884.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}