Skip to content
OpenAdvisories
Medium SUSE-SU-2017:1222-1 9 CVEs

Security update for Botan

Published May 9, 2017 · Updated Feb 4, 2026

Summary

This update for Botan to version 1.10.9 fixes the following issues:

These security issues were fixed:

- CVE-2015-5726: The BER decoder in Botan 0.10.x allowed remote attackers to cause a denial of service (application crash) via an empty BIT STRING in ASN.1 data (bsc#968025).
- CVE-2015-5727: The BER decoder in Botan 1.10.x allowed remote attackers to cause a denial of service (memory consumption) via unspecified vectors, related to a length field (bsc#968026).
- CVE-2015-7827: Botan make it easier for remote attackers to conduct million-message attacks by measuring time differences, related to decoding of PKCS#1 padding (bsc#968030).
- CVE-2016-2849: Botan do not use a constant-time algorithm to perform a modular inverse on the signature nonce k, which might allowed remote attackers to obtain ECDSA secret keys via a timing side-channel attack (bsc#977420).
- CVE-2016-9132: In Botan 1.8.0 when decoding BER data an integer overflow could occur, which would cause an incorrect length field to be computed. Some API callers may use the returned (incorrect and attacker controlled) length field in a way which later caused memory corruption or other failure (bsc#1013209).
- CVE-2016-2194: The ressol function in Botan allowed remote attackers to cause a denial of service (infinite loop) via unspecified input to the OS2ECP function, related to a composite modulus (bsc#965621).
- CVE-2016-2195: Integer overflow in the PointGFp constructor in Botan allowed remote attackers to overwrite memory and possibly execute arbitrary code via a crafted ECC point, which triggers a heap-based buffer overflow (bsc#965620).
- CVE-2017-2801: Incorrect comparison in X.509 DN strings (bsc#1033605).
- CVE-2014-9742: The Miller-Rabin primality check in Botan improperly used a single random base, which made it easier for remote attackers to defeat cryptographic protection mechanisms via a DH group (bsc#974521).

These non-security issues were fixed:

- Fixed EAX tag verification to run in constant time
- The default TLS policy now disables SSLv3.
- A crash could have occured when reading from a blocking random device if the
device initially indicated that entropy was available but a concurrent
process drained the entropy pool before the read was initiated.
- Fixed decoding indefinite length BER constructs that contain a context sensitive
tag of zero.
- The key length limit on HMAC has been raised to 512 bytes, allowing the use
of very long passphrases with PBKDF2.
- OAEP had two bugs, one of which allowed it to be used even if the key was
too small, and the other of which would cause a crash during decryption if
the EME data was too large for the associated key.

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 12 SP1 Linux Enterprise Software Development Kit 12 SP1 Botan 1.10.9-3.1
SUSE · SLES 12 SP2 Linux Enterprise Software Development Kit 12 SP2 Botan 1.10.9-3.1

Vulnerabilities 9

  • Medium 6.5

    A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparis…

  • Unscored —

    The Miller-Rabin primality check in Botan before 1.10.8 and 1.11.x before 1.11.9 improperly uses a single random base, …

  • Unscored —

    The BER decoder in Botan 0.10.x before 1.10.10 and 1.11.x before 1.11.19 allows remote attackers to cause a denial of s…

  • Unscored —

    The BER decoder in Botan 1.10.x before 1.10.10 and 1.11.x before 1.11.19 allows remote attackers to cause a denial of s…

  • Unscored —

    Botan before 1.10.13 and 1.11.x before 1.11.22 make it easier for remote attackers to conduct million-message attacks b…

  • Unscored —

    The ressol function in Botan before 1.10.11 and 1.11.x before 1.11.27 allows remote attackers to cause a denial of serv…

  • Unscored —

    Integer overflow in the PointGFp constructor in Botan before 1.10.11 and 1.11.x before 1.11.27 allows remote attackers …

  • Unscored —

    Botan before 1.10.13 and 1.11.x before 1.11.29 do not use a constant-time algorithm to perform a modular inverse on the…

  • Unscored —

    In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect …

References

  • report
    https://bugzilla.suse.com/1013209
  • report
    https://bugzilla.suse.com/1033605
  • report
    https://bugzilla.suse.com/965620
  • report
    https://bugzilla.suse.com/965621
  • report
    https://bugzilla.suse.com/968025
  • report
    https://bugzilla.suse.com/968026
  • report
    https://bugzilla.suse.com/968030
  • report
    https://bugzilla.suse.com/974521
  • report
    https://bugzilla.suse.com/977420
  • web
    https://www.suse.com/security/cve/CVE-2014-9742
  • web
    https://www.suse.com/security/cve/CVE-2015-5726
  • web
    https://www.suse.com/security/cve/CVE-2015-5727
  • web
    https://www.suse.com/security/cve/CVE-2015-7827
  • web
    https://www.suse.com/security/cve/CVE-2016-2194
  • web
    https://www.suse.com/security/cve/CVE-2016-2195
  • web
    https://www.suse.com/security/cve/CVE-2016-2849
  • web
    https://www.suse.com/security/cve/CVE-2016-9132
  • web
    https://www.suse.com/security/cve/CVE-2017-2801