p PatchFirst

PatchFirst · Latest vulnerabilities

botan vulnerabilities

Vulnerabilities published for botan in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 9

  1. CVE-2024-39312

    Medium · CVSS 5.3EPSS 0.27%Fix available

    Botan has an Authorization Error due to Name Constraint Decoding Bug

    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.

    • Update to 2.19.5-r0
    Published Updated
  2. CVE-2024-34702

    Medium · CVSS 5.3EPSS 0.84%Fix available

    Botan has a Denial of Service Due to Excessive Name Constraints

    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

    • Update to 2.19.5-r0
    Published Updated
  3. CVE-2024-34703

    High · CVSS 7.5EPSS 0.5%Fix available

    Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters

    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 el

    • Update to 2.19.4-r0
    Published Updated
  4. CVE-2021-40529

    Medium · CVSS 5.9EPSS 1.53%Fix available

    CVE-2021-40529

    The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.

    • Update to 2.18.1-r3
    Published Updated
  5. CVE-2018-20187

    Medium · CVSS 5.9EPSS 1.52%Fix available

    CVE-2018-20187

    A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.

    • Update to 2.9.0-r0
    Published Updated
  6. CVE-2018-12435

    Medium · CVSS 5.9EPSS 0.48%Fix available

    CVE-2018-12435

    Botan 2.5.0 through 2.6.0 before 2.7.0 allows a memory-cache side-channel attack on ECDSA signatures, aka the Return Of the Hidden Number Problem or ROHNP, related to dsa/dsa.cpp, ec_group/ec_group.cpp, and ecdsa/ecdsa.cpp. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.

    • Update to 2.7.0-r0
    Published Updated
  7. CVE-2018-9860

    High · CVSS 7.5EPSS 1.36%Fix available

    CVE-2018-9860

    An issue was discovered in Botan 1.11.32 through 2.x before 2.6.0. An off-by-one error when processing malformed TLS-CBC ciphertext could cause the receiving side to include in the HMAC computation exactly 64K bytes of data following the record buffer, aka an over-read. The MAC comparison will subsequently fail and the connection will be closed. This could be used for denial of service. No information leak occurs.

    • Update to 2.6.0-r0
    Published Updated
  8. CVE-2018-9127

    Critical · CVSS 9.8EPSS 0.93%Fix available

    CVE-2018-9127

    Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as valid for hostnames when, under RFC 6125 rules, they should not match. This only affects certificates issued to the same domain as the host, so to impersonate a host one must already have a wildcard certificate matching other hosts in the same domain. For example, b*.example.com would match some hostnames that do not begin with a 'b' character.

    • Update to 2.5.0-r0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →