CVE & CISA-KEV Catalog

CVE-2024-39312

MEDIUM
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
botanDebian
Fixed in:2.19.3+dfsg-1+deb12u1CVE-2024-39312
Fixed in:2.19.5+dfsg-1CVE-2024-39312
botanUbuntu
Fixed in:2.19.1+dfsg-2ubuntu1+esm1USN-7586-1
Fixed in:2.19.3+dfsg-1ubuntu2+esm1USN-7586-1
libbotan-2-19Ubuntu
Fixed in:2.19.1+dfsg-2ubuntu1+esm1USN-7586-1
Fixed in:2.19.3+dfsg-1ubuntu2+esm1USN-7586-1
libbotan-2-devUbuntu
Fixed in:2.19.1+dfsg-2ubuntu1+esm1USN-7586-1
Fixed in:2.19.3+dfsg-1ubuntu2+esm1USN-7586-1
python3-botanUbuntu
Fixed in:2.19.1+dfsg-2ubuntu1+esm1USN-7586-1
Fixed in:2.19.3+dfsg-1ubuntu2+esm1USN-7586-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploit Intelligence

0.27%probability of exploitation in 30 days
19thpercentile

Low risk: more likely to be exploited than 19% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-295 (Improper Certificate Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-4000Low3.7100%-Fix
CVE-2020-0601High8.189%KEVFix
CVE-2009-3555Critical9.887%-Fix
CVE-2022-26923High8.883%KEVFix
CVE-2023-27823Critical9.853%--
CVE-2022-42979High8.824%--
Embed a live status badge for CVE-2024-39312
CVE-2024-39312 severity badge

Markdown

[![CVE-2024-39312](https://tridentstack.com/cve/badge/CVE-2024-39312.svg)](https://tridentstack.com/cve/CVE-2024-39312)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-39312"><img src="https://tridentstack.com/cve/badge/CVE-2024-39312.svg" alt="CVE-2024-39312"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-11.