PT-2024-6085 · Botan+6 · Botan+6

Bing Shi

·

Published

2024-02-20

·

Updated

2026-01-30

·

CVE-2024-34703

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Botan versions prior to 2.19.4 and 3.3.0
Description The issue is related to the parsing of X.509 certificates with explicit encoding of elliptic curve parameters. An attacker can present a certificate with very large parameters, causing excessive computation when the parameter is checked to be prime. This can lead to a denial of service. The proof of concept used a 16Kbit prime for this purpose. Support for explicit encoding of elliptic curve parameters is deprecated in Botan.
Recommendations For versions prior to 2.19.4, update to version 2.19.4 or later to patch the issue. For versions prior to 3.3.0, update to version 3.3.0 or later to patch the issue. As a temporary workaround, consider restricting the use of explicit encoding of elliptic curve parameters until a patch is applied.

Exploit

Fix

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

AZL-43708
AZL-44214
BDU:2024-06990
CVE-2024-34703
GHSA-W4G2-7M2H-7XJ7
MGASA-2024-0297
OESA-2024-1923
OESA-2024-1924
OESA-2024-1925
OPENSUSE-SU-2024:0201-1
OPENSUSE-SU-2024:14095-1
OPENSUSE-SU-2024:14188-1
SUSE-SU-2024:2415-1
SUSE-SU-2024_2415-1
USN-7586-1

Affected Products

Astra Linux
Botan
Debian
Linuxmint
Red Os
Suse
Ubuntu