{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-34702 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-34702 is a medium-severity denial of service vulnerability in randombit botan, published on 8 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-34702 and fix it if it is affected.\n\nWhat it is: CVE-2024-34702 is a medium-severity denial of service vulnerability in randombit botan, published on 8 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-34702 in the wild and no public exploit code.\n\nAffected product: randombit botan. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-34702/ (Markdown: https://insights.sbomify.com/CVE-2024-34702/index.md)","id":"CVE-2024-34702","markdown":"https://insights.sbomify.com/CVE-2024-34702/index.md","name":"CVE-2024-34702","record":{"aliases":["ALPINE-CVE-2024-34702","AZL-43942","AZL-44796","DEBIAN-CVE-2024-34702","GHSA-5gg9-hqpr-r58j","UBUNTU-CVE-2024-34702"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"C++ cryptography library","requires_auth":"none","summary":"An attacker can cause a denial of service in Botan by presenting a certificate chain with excessive names and constraints, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)"}],"description":"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 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Botan has a Denial of Service Due to Excessive Name Constraints","id":"CVE-2024-34702","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":0,"n_references":13,"next":{"headline":"Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters","id":"CVE-2024-34703"},"packages":[],"prev":{"headline":"CreateWiki vulnerable to impersonation of wiki requester","id":"CVE-2024-34701"},"products":["botan"],"published":"2024-07-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["randombit"]},"summary":"An attacker can cause a denial of service in Botan by presenting a certificate chain with excessive names and constraints, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2024-34702/"}