p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости botan

За последние 30 дней в botan опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 14

  1. CVE-2026-32877

    Высокий · CVSS 8.2EPSS 0,29%Нет опубликованного исправления

    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 ciphertext can cause a heap over-read of up to 31 bytes, resulting in a crash or potentially other undefined behavior. This issue has been patched in version 3.11.0.

    Опубликовано Обновлено
  2. CVE-2026-32884

    Средний · CVSS 5.9EPSS 0,17%Нет опубликованного исправления

    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 would check that the CN was allowed by the DNS name constraints, even though this check is technically not required by RFC 5280. However this check failed to account for the possibility of a mixed-case CN. Thus a certificate with CN=Sub.EVIL.COM and no subject alternative name would bypasses an excludedSubtrees constraint for evil.com because the comparison is case-sensitive. This issue has

    Опубликовано Обновлено
  3. CVE-2024-50383

    Средний · CVSS 5.9EPSS 0,55%Есть исправление

    CVE-2024-50383

    Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/donna128.h in donna128 (used in Chacha-Poly1305 and x25519). An addition can be skipped if a carry is not set. This was observed for GCC 11.3.0 with -O2 on MIPS, and GCC on x86-i386. (Only 32-bit processors can be affected.)

    • Обновитесь до 2.19.3+dfsg-1+deb12u1
    Опубликовано Обновлено
  4. CVE-2024-50382

    Средний · CVSS 5.9EPSS 0,55%Есть исправление

    CVE-2024-50382

    Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.

    • Обновитесь до 2.19.3+dfsg-1+deb12u1
    Опубликовано Обновлено
  5. CVE-2024-39312

    Средний · CVSS 5.3EPSS 0,27%Есть исправление

    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.

    • Обновитесь до 2.19.3+dfsg-1+deb12u1
    Опубликовано Обновлено
  6. CVE-2024-34702

    Средний · CVSS 5.3EPSS 0,84%Есть исправление

    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

    • Обновитесь до 2.19.3+dfsg-1+deb12u1
  7. CVE-2024-34703

    Высокий · CVSS 7.5EPSS 0,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 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

    • Обновитесь до 2.19.3+dfsg-1+deb12u1
  8. CVE-2022-43705

    Критический · CVSS 9.1EPSS 0,45%Есть исправление

    CVE-2022-43705

    In Botan before 2.19.3, it is possible to forge OCSP responses due to a certificate verification error. This issue was introduced in Botan 1.11.34 (November 2016).

    • Обновитесь до 2.19.3+dfsg-1
    Опубликовано Обновлено
  9. CVE-2021-40529

    Средний · CVSS 5.9EPSS 1,53%Есть исправление

    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.

    • Обновитесь до 2.18.1+dfsg-3
    Опубликовано Обновлено
  10. CVE-2021-24115

    Критический · CVSS 9.8EPSS 1,92%Есть исправление

    CVE-2021-24115

    In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).

    • Обновитесь до 2.17.3+dfsg-1
    Опубликовано Обновлено
  11. CVE-2018-20187

    Средний · CVSS 5.9EPSS 1,52%Есть исправление

    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.

    • Обновитесь до 2.9.0-2
    Опубликовано Обновлено
  12. CVE-2018-12435

    Средний · CVSS 5.9EPSS 0,49%Есть исправление

    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.

    • Обновитесь до 2.6.0-3
  13. CVE-2018-9860

    Высокий · CVSS 7.5EPSS 1,36%Есть исправление

    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.

    • Обновитесь до 2.4.0-6
    Опубликовано Обновлено
  14. CVE-2018-9127

    Критический · CVSS 9.8EPSS 0,93%Есть исправление

    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.

    • Обновитесь до 2.4.0-5
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →