cve-2024-34703
Vulnerability from cvelistv5
Published
2024-06-30 20:22
Modified
2024-08-02 02:59
Severity ?
EPSS score ?
Summary
Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.
References
Impacted products
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:randombit:botan:3.30:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "botan", "vendor": "randombit", "versions": [ { "lessThan": "3.3.1", "status": "affected", "version": "3.30", "versionType": "custom" }, { "lessThan": "2.19.4", "status": "affected", "version": "0", "versionType": "custom" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-34703", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-07-02T14:55:26.269940Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-07-02T15:13:21.603Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-02T02:59:21.982Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7" }, { "name": "https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4" }, { "name": "https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "botan", "vendor": "randombit", "versions": [ { "status": "affected", "version": "\u003e= 3.3.0, \u003c 3.3.0" }, { "status": "affected", "version": "\u003c 2.19.4" } ] } ], "descriptions": [ { "lang": "en", "value": "Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.\n" } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-405", "description": "CWE-405: Asymmetric Resource Consumption (Amplification)", "lang": "en", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-770", "description": "CWE-770: Allocation of Resources Without Limits or Throttling", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-06-30T20:22:32.910Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7" }, { "name": "https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4" }, { "name": "https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a" } ], "source": { "advisory": "GHSA-w4g2-7m2h-7xj7", "discovery": "UNKNOWN" }, "title": "Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2024-34703", "datePublished": "2024-06-30T20:22:32.910Z", "dateReserved": "2024-05-07T13:53:00.132Z", "dateUpdated": "2024-08-02T02:59:21.982Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2024-34703\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-06-30T21:15:02.053\",\"lastModified\":\"2024-11-21T09:19:13.827\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.\\n\"},{\"lang\":\"es\",\"value\":\"Botan es una librer\u00eda de criptograf\u00eda C++. Los certificados X.509 pueden identificar curvas el\u00edpticas utilizando un identificador de objeto o una codificaci\u00f3n expl\u00edcita de los par\u00e1metros. Antes de las versiones 3.3.0 y 2.19.4, un atacante pod\u00eda presentar un certificado ECDSA X.509 usando codificaci\u00f3n expl\u00edcita donde los par\u00e1metros eran muy grandes. La prueba de concepto utiliz\u00f3 un prime de 16 Kbit para este prop\u00f3sito. Al analizar, se comprueba que el par\u00e1metro sea primo, lo que provoca un c\u00e1lculo excesivo. Esto fue parcheado en 2.19.4 y 3.3.0 para permitir que el par\u00e1metro principal de la curva el\u00edptica tenga como m\u00e1ximo 521 bits. No hay workarounds disponibles. Tenga en cuenta que la compatibilidad con la codificaci\u00f3n expl\u00edcita de par\u00e1metros de curvas el\u00edpticas est\u00e1 obsoleta en Botan.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-405\"},{\"lang\":\"en\",\"value\":\"CWE-770\"}]}],\"references\":[{\"url\":\"https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.