CVE-2024-34702
published medium CVSS 3.1 · 5.3Botan has a Denial of Service Due to Excessive Name Constraints
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 | — | botan3.0.0 to < 3.5.0 · 0 to < 2.19.5 · 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. Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 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:N/A:L
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 | 3.0.0 to < 3.5.0 (affected · custom)0 to < 2.19.5 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-405 CWE-405: Asymmetric Resource Consumption (Amplification)
References
13- https://github.com/randombit/botan/commit/21dccc8fef18c165ba3301d850ac61521f85637e
- https://github.com/randombit/botan/commit/39535f13c322f56aa3da2f44b2b6abb8619a82ac
- https://github.com/randombit/botan/commit/477822a2d10f02d8ba46c9d8a5132f25843f5cc1
- https://github.com/randombit/botan/commit/7606d70d3a2ac7114476ec2651ca0243c4536fdf
- https://github.com/randombit/botan/commit/c3264821b9f6286ee4e6e3e06826f6b7177e6d41
- https://github.com/randombit/botan/commit/ff704b12e6fa351aaedd07bffdc91722e84586b8
- https://github.com/randombit/botan/pull/4034
- https://github.com/randombit/botan/pull/4045
- https://github.com/randombit/botan/pull/4047
- https://github.com/randombit/botan/pull/4052
- https://github.com/randombit/botan/pull/4186
- https://github.com/randombit/botan/pull/4187
- https://github.com/randombit/botan/security/advisories/GHSA-5gg9-hqpr-r58j
Provider assertions
3GitHub_M · cna
Botan has a Denial of Service Due to Excessive Name Constraints
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 03ec777a45a7e2e74ddd8d670c31b588e8f33483bf9cbc2caad995b91d353bc0
- Ingested
- 23 Sep 2026, 08:23:37 UTC
- Source record
- Official CVE record