CVE-2024-39312

Name
CVE-2024-39312
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86

Match rules

CPE URI Source package Min version Max version
botan >= 0 < 2.19.5
botan >= 3.0.0 < 3.5.0
cpe:2.3:a:randombit:botan:*:*:*:*:*:*:*:* botan >= 0 < 2.19.5
cpe:2.3:a:randombit:botan:*:*:*:*:*:*:*:* botan >= 3.0.0 < 3.5.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
botan edge-main 2.19.4-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.20-main 2.19.4-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.19-main 2.19.3-r5 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.18-main 2.19.3-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.17-main 2.19.3-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable