CVE-2024-39312

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductBotan
PublishedJul 8, 2024
First seenJul 8, 2024
Weakness typeCWE-295CWE-295

How to fix

Update
  • botan_project botan2.19.5, 3.5.0 or later

Affected products

ProductAffected versionsFixed in
botan_project botanv < 2.19.5, 3.0.0 ≤ v < 3.5.02.19.5, 3.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.