CVEvulnerability
CVE-2024-39312
5.3 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-07-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-295
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. 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.
Affected configurations
• botan project botan (< 2.19.5)
• botan project botan (>= 3.0.0 < 3.5.0)
Related
Weakness · CWE (1)
- CWE-295 Improper Certificate Validation weakness
References
- https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86 Third Party Advisory
- https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86 Third Party Advisory