Skip to content
OpenAdvisories

Package · Ubuntu

botan

23 known vulnerabilities.

23 results · Feed

  • Medium 4.1

    Botan: scrypt V-buffer heap overflow on 32-bit from constructor-accepted parameters

    Botan is a C++ cryptography library. From 2.7.0 until 3.13.0, Botan's Scrypt implementation on 32-bit platforms computes required memory with unchecked multiplication, allowing attacker-controlled Scrypt parameters to wrap the allocation size and create a buf…

  • Low 2.1

    Botan: directoryName nameConstraint bypass via multi-AVA RDN flattening in matches_dn

    Botan is a C++ cryptography library. Prior to 3.13.0, Botan's X.509 Distinguished Name decoder flattens the Attribute-Value Assertions in each Relative Distinguished Name and loses multi-value RDN grouping before DN name-constraint enforcement. An attacker co…

  • Critical 9.2

    Botan: Integer overflow when reporting block size in FFI can cause memory corruption

    Botan is a C++ cryptography library. From 2.1.0 until 3.13.0, the Botan C API function botan_block_cipher_block_size converted a size_t block size to int without a bounds check. In an application that accepts external algorithm parameter strings and uses the …

  • Medium 5.9

    Botan: CLI utility `ocsp_check` accepts unauthenticated responses

    Botan is a C++ cryptography library. From 1.11.34 until 3.13.0, the botan ocsp_check command requested an OCSP response from a certificate's Authority Information Access URL without verifying the response signature or authorizing the signer. A malicious respo…

  • Medium 4.8

    Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs

    Botan is a C++ cryptography library. From 1.11.22 until 3.13.0, Botan's Python binding converted Python strings containing U+0000 to const char* values without consistently rejecting the embedded NUL, causing bcrypt and check_bcrypt to process only the prefix…

  • Medium 6.1

    Botan: Online OCSP redirects enable blind requests to internal HTTP services

    Botan is a C++ cryptography library. Prior to 3.13.0, Botan's online OCSP client allowed a single HTTP redirect while posting an OCSP request to the URI in a certificate's Authority Information Access extension. A malicious OCSP responder or an on-path attack…

  • High 7.3

    Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state

    Botan is a C++ cryptography library. From 3.7.0 until 3.13.0, an application that calls AutoSeeded_RNG::clear() and then calls randomize with an empty output buffer while the generator is unseeded can cause AutoSeeded_RNG to mark itself seeded without consult…

  • High 8.7

    Botan has a TLS 1.3 certificate authentication bypass

    Botan is a C++ cryptography library. Prior to version 3.11.1, the TLS 1.3 implementation allowed ApplicationData records to be processed prior to the Finished message being received. A server which is attempting to enforce client authentication via certificat…

  • Critical 9.3

    Botan has a certificate authentication bypass due to trust anchor confusion

    Botan is a C++ cryptography library. In 3.11.0, the function Certificate_Store::certificate_known had a misleading name; it would return true if any certificate in the store had a DN (and subject key identifier, if set) matching that of the argument. It did n…

  • High 8.2

    Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field

    Botan is a C++ cryptography library. From version 2.3.0 to before version 3.11.0, during SM2 decryption, the code that checked the authentication code value (C3) failed to check that the encoded value was of the expected length prior to comparison. An invalid…

  • Medium 5.9

    Botan: Missing OCSP Response Signature Verification Allows MitM Certificate Revocation Bypass

    Botan is a C++ cryptography library. From version 3.0.0 to before version 3.11.0, during X509 path validation, OCSP responses were checked for an appropriate status code, but critically omitted verifying the signature of the OCSP response itself. This issue h…

  • Medium 5.9

    Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)

    Botan is a C++ cryptography library. Prior to version 3.11.0, during processing of an X.509 certificate path using name constraints which restrict the set of allowable DNS names, if no subject alternative name is defined in the end-entity certificate Botan wo…

  • Medium 5.9

    Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/util…

  • Medium 5.9

    Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/…

  • Medium 5.3

    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 ext…

  • Medium 5.3

    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…

  • High 7.5

    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…

  • Critical 9.1

    In Botan before 2.19.3, it is possible to forge OCSP responses due to a certificate verification error. This issue was …

  • Unscored —

    The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, allows plaintext recover…

  • Unscored —

    In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, b…

  • Unscored —

    A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken fo…

  • Unscored —

    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-CB…

  • Unscored —

    Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as …