CVE-2024-39312
published medium CVSS 3.1 · 5.3Botan has an Authorization Error due to Name Constraint Decoding Bug
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| randombit | — | botan< 2.19.5 · >= 3.0.0, < 3.5.0 | Affected | Not stated | GitHub_M |
| randombit | — | botan0 to < 2.19.5 · 3.0.0 to < 3.5.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Alpine Linux | v3.17 | botan | Fixed | 2.19.5-r0 | Package fix record |
| Ubuntu | jammy | botan | Advisory build | 2.19.1+dfsg-2ubuntu1+esm1 | USN-7586-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | Botanaarch64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| Alpine Linux | v3.18 | botan | Fixed | 2.19.5-r0 | Package fix record |
| Alpine Linux | v3.19 | botan | Fixed | 2.19.5-r0 | Package fix record |
| Alpine Linux | v3.20 | botan | Fixed | 2.19.5-r0 | Package fix record |
Show 51 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | botan | Fixed | 2.19.5-r0 | Package fix record |
| Ubuntu | noble | botan | Advisory build | 2.19.3+dfsg-1ubuntu2+esm1 | USN-7586-1 |
| Alpine Linux | edge | botan3 | Fixed | 3.5.0-r0 | Package fix record |
| Alpine Linux | v3.21 | botan3 | Fixed | 3.5.0-r0 | Package fix record |
| Alpine Linux | v3.22 | botan3 | Fixed | 3.5.0-r0 | Package fix record |
| Alpine Linux | v3.23 | botan3 | Fixed | 3.5.0-r0 | Package fix record |
| Alpine Linux | v3.24 | botan3 | Fixed | 3.5.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.5 | Botani586 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | Botanppc64le | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | Botans390x | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | Botanx86_64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | Botan-docnoarch | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-2-19aarch64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-2-19i586 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-2-19ppc64le | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-2-19s390x | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-2-19x86_64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-2-19-32bitx86_64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-2-19-64bitaarch64_ilp32 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-develaarch64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-develi586 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-develppc64le | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-devels390x | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-develx86_64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-devel-32bitx86_64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libbotan-devel-64bitaarch64_ilp32 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-botanaarch64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-botani586 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-botanppc64le | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-botans390x | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-botanx86_64 | Advisory build | 2.19.5-bp155.2.3.1 | OPENSUSE-SU-2024:0201-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docaarch64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docppc64le | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docs390x | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docx86_64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-19aarch64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-19ppc64le | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-19s390x | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-19x86_64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-develaarch64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-develppc64le | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-devels390x | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-develx86_64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botanaarch64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botanppc64le | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botans390x | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botanx86_64 | Advisory build | 2.19.5-1.1 | OPENSUSE-SU-2024:14188-1 |
| Ubuntu | jammy | libbotan-2-19 | Advisory build | 2.19.1+dfsg-2ubuntu1+esm1 | USN-7586-1 |
| Ubuntu | jammy | python3-botan | Advisory build | 2.19.1+dfsg-2ubuntu1+esm1 | USN-7586-1 |
| Ubuntu | noble | libbotan-2-19 | Advisory build | 2.19.3+dfsg-1ubuntu2+esm1 | USN-7586-1 |
| Ubuntu | noble | python3-botan | Advisory build | 2.19.3+dfsg-1ubuntu2+esm1 | USN-7586-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| randombit | botan | < 2.19.5 (affected)>= 3.0.0, < 3.5.0 (affected) | GitHub_M · cna |
| randombit | botan | 0 to < 2.19.5 (affected · custom)3.0.0 to < 3.5.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
1Provider assertions
3GitHub_M · cna
Botan has an Authorization Error due to Name Constraint Decoding Bug
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7a5c9cdcbbe3f941b271f1da2627527c92cd7eb98a5ec3dc9ace553824d99226
- Ingested
- 23 Sep 2026, 08:25:04 UTC
- Source record
- Official CVE record