Vulnerability in Botan Project
CVE-2024-39312
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. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.
Vulnerability class: Improper Certificate Validation
EPSS: 0.003 (19.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Botan_project Botan
- Randombit Botan — versions < 2.19.5, >= 3.0.0, < 3.5.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-39312?
- CVE-2024-39312 is a medium-severity vulnerability in Botan Project, classified under Improper Certificate Validation. CVSS score: 5.3/10. Published 2024-07-08.
- How severe is CVE-2024-39312?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2024-39312 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.