|
|
Log in / Subscribe / Register

botan: three vulnerabilities

Package(s):botan CVE #(s):CVE-2016-2194 CVE-2016-2195 CVE-2016-2196
Created:February 11, 2016 Updated:December 13, 2016
Description: From the Arch Linux advisory:

CVE-2016-2194 - (denial of service) - The ressol function implements the Tonelli-Shanks algorithm for finding square roots could be sent into a nearly infinite loop due to a misplaced conditional check. This could occur if a composite modulus is provided, as this algorithm is only defined for primes. This function is exposed to attacker controlled input via the OS2ECP function during ECC point decompression.

CVE-2016-2195 - (arbitrary code execution) - The PointGFp constructor did not check that the affine coordinate arguments were less than the prime, but then in curve multiplication assumed that both arguments if multiplied would fit into an integer twice the size of the prime. The bigint_mul and bigint_sqr functions received the size of the output buffer, but only used it to dispatch to a faster algorithm in cases where there was sufficient output space to call an unrolled multiplication function. The result is a heap overflow accessible via ECC point decoding, which accepted untrusted inputs. This is likely exploitable for remote code execution. On systems which use the mlock pool allocator, it would allow an attacker to overwrite memory held in secure_vector objects. After this point the write will hit the guard page at the end of the mmap’ed region so it probably could not be used for code execution directly, but would allow overwriting adjacent key material.

CVE-2016-2196 - (arbitrary code execution) - The P-521 reduction function would overwrite zero to one word following the allocated block. This could potentially result in remote code execution or a crash.

Alerts:
Debian-LTS DLA-449-1 botan1.10 2016-04-30
Debian DSA-3565-1 botan1.10 2016-05-02
Gentoo 201612-38 botan 2016-12-13
Mageia MGASA-2016-0102 botan 2016-03-07
Fedora FEDORA-2016-1c08d77b96 qt-creator 2016-02-29
Fedora FEDORA-2016-1c08d77b96 qca 2016-02-29
Fedora FEDORA-2016-1c08d77b96 monotone 2016-02-29
Fedora FEDORA-2016-1c08d77b96 code-editor 2016-02-29
Fedora FEDORA-2016-1c08d77b96 botan 2016-02-29
Fedora FEDORA-2016-fb9b356b74 qt-creator 2016-02-23
Fedora FEDORA-2016-fb9b356b74 qca 2016-02-23
Fedora FEDORA-2016-fb9b356b74 monotone 2016-02-23
Fedora FEDORA-2016-fb9b356b74 code-editor 2016-02-23
Fedora FEDORA-2016-fb9b356b74 botan 2016-02-23
Arch Linux ASA-201602-11 botan 2016-02-10

to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds