{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-24884",
        "STATE": "PUBLIC",
        "TITLE": "Trivial signature forgery in ecdsautils"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ecdsautils",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 0.4.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "freifunk-gluon"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 10.0,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-347: Improper Verification of Cryptographic Signature"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw",
                "refsource": "CONFIRM",
                "url": "https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw"
            },
            {
                "name": "https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08",
                "refsource": "MISC",
                "url": "https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08"
            },
            {
                "name": "https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad",
                "refsource": "MISC",
                "url": "https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220507 [SECURITY] [DLA 2997-1] ecdsautils security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00007.html"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-5132",
                "url": "https://www.debian.org/security/2022/dsa-5132"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-111177a5ac",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G2JT57AAFIEL7JDO2ZBV25JKYME5NU54/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-7704d5e885",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7UBR3M4U3LA46BHXYSH7EN5GDG44GK7/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-bf58612696",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4AKQH5WCBMJA3ODCSNERY6HVX4BX3ITG/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-qhcg-9ffp-78pw",
        "discovery": "UNKNOWN"
    }
}