CVE Vulnerabilities

CVE-2024-39312

Improper Certificate Validation

Published: Jul 08, 2024 | Modified: Apr 11, 2025
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io minimus.io echohq.com

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Botan Botan_project * 2.19.5 (excluding)
Botan Botan_project 3.0.0 (including) 3.5.0 (excluding)
Botan Ubuntu esm-apps/bionic *
Botan Ubuntu esm-apps/focal *
Botan Ubuntu esm-apps/jammy *
Botan Ubuntu esm-apps/noble *
Botan Ubuntu focal *
Botan Ubuntu jammy *
Botan Ubuntu mantic *
Botan Ubuntu noble *
Botan Ubuntu oracular *
Botan Ubuntu upstream *

Potential Mitigations

References