CVE-2024-39312
Botan has an Authorization Error due to Name Constraint Decoding Bug
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Botan es una librería de criptografía C++. Los certificados X.509 pueden identificar curvas elípticas utilizando un identificador de objeto o una codificación explícita de los parámetros. Un error en el análisis de las extensiones de restricción de nombres en los certificados X.509 significaba que si la extensión incluía tanto subárboles permitidos como subárboles excluidos, solo se verificaría el subárbol permitido. Si un certificado incluyera un nombre permitido por el subárbol permitido pero también excluido por el subárbol excluido, se aceptaría. Corregido en las versiones 3.5.0 y 2.19.5.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2024-06-21 CVE Reserved
- 2024-07-08 CVE Published
- 2024-07-09 EPSS Updated
- 2024-08-02 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-295: Improper Certificate Validation
CAPEC
References (1)
URL | Tag | Source |
---|---|---|
https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Randombit Search vendor "Randombit" | Botan Search vendor "Randombit" for product "Botan" | < 2.19.5 Search vendor "Randombit" for product "Botan" and version " < 2.19.5" | en |
Affected
| ||||||
Randombit Search vendor "Randombit" | Botan Search vendor "Randombit" for product "Botan" | >= 3.0.0 < 3.5.0 Search vendor "Randombit" for product "Botan" and version " >= 3.0.0 < 3.5.0" | en |
Affected
|