5.3

CVE-2024-39312: botan_project botan Improper Certificate Validation

CVSS: 5.3v3.1MediumAnalyzed
AliasesALPINE-CVE-2024-39312UBUNTU-CVE-2024-39312DEBIAN-CVE-2024-39312
Published 08-07-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-39312 is a medium (CVSS 5.3) Improper Certificate Validation vulnerability in botan_project botan. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.4% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 08-07-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

0.00 pp

From 0.27% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.27%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine2 products
  • botan≥ 3.0.0, < 2.19.5-r0
  • botan3< 3.5.0-r0
Botan_project1 product
  • botan< 2.19.5 | ≥ 3.0.0, < 3.5.0
Debian1 product
  • botan< 2.19.3+dfsg-1+deb12u1 | < 2.19.5+dfsg-1
Randombit1 product
  • botan< 2.19.5 | ≥ 3.0.0, < 3.5.0
Ubuntu1 product
  • botanAll versions (No fix recorded) | < 2.19.1+dfsg-2ubuntu1+esm1 | < 2.19.3+dfsg-1ubuntu2+esm1

5 vendors · 6 products

References

6 links