OESA-2024-1924

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1924
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1924.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2024-1924
Upstream
Published
2024-08-02T11:08:41Z
Modified
2025-08-12T05:44:00.714988Z
Summary
botan2 security update
Details

Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS #10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan.

Security Fix(es):

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.(CVE-2024-34702)

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. (CVE-2024-34703)

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.(CVE-2024-39312)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:22.03-LTS-SP3 / botan2

Package

Name
botan2
Purl
pkg:rpm/openEuler/botan2&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.19.3-3.oe2203sp3

Ecosystem specific

{
    "aarch64": [
        "botan2-2.19.3-3.oe2203sp3.aarch64.rpm",
        "python3-botan2-2.19.3-3.oe2203sp3.aarch64.rpm",
        "botan2-debugsource-2.19.3-3.oe2203sp3.aarch64.rpm",
        "botan2-devel-2.19.3-3.oe2203sp3.aarch64.rpm",
        "botan2-debuginfo-2.19.3-3.oe2203sp3.aarch64.rpm"
    ],
    "src": [
        "botan2-2.19.3-3.oe2203sp3.src.rpm"
    ],
    "noarch": [
        "botan2-doc-2.19.3-3.oe2203sp3.noarch.rpm"
    ],
    "x86_64": [
        "python3-botan2-2.19.3-3.oe2203sp3.x86_64.rpm",
        "botan2-debugsource-2.19.3-3.oe2203sp3.x86_64.rpm",
        "botan2-debuginfo-2.19.3-3.oe2203sp3.x86_64.rpm",
        "botan2-2.19.3-3.oe2203sp3.x86_64.rpm",
        "botan2-devel-2.19.3-3.oe2203sp3.x86_64.rpm"
    ]
}