CVE-2024-34703 Affecting botan package, versions <2.19.5-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE318-BOTAN-8171943
- published 9 Oct 2024
- disclosed 30 Jun 2024
Introduced: 30 Jun 2024
CVE-2024-34703 Open this link in a new tabHow to fix?
Upgrade Alpine:3.18
botan
to version 2.19.5-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream botan
package and not the botan
package as distributed by Alpine
.
See How to fix?
for Alpine:3.18
relevant fixed versions and status.
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 versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.