Cryptographic issues in The Bouncy Castle Crypto Package For Java - CVE-2016-1000340

 

Cryptographic issues in The Bouncy Castle Crypto Package For Java - CVE-2016-1000340

Published: July 5, 2018


Vulnerability identifier: #VU13588
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2016-1000340
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Legion of the Bouncy Castle Inc.
Affected software:
The Bouncy Castle Crypto Package For Java

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists in Bouncy Castle JCE Provider due to buggy implementation of squaring for several raw math classes have been fixed (org.bouncycastle.math.raw.Nat???). These classes are used by our custom elliptic curve implementations (org.bouncycastle.math.ec.custom.**), so there was the possibility of rare (in general usage) spurious calculations for elliptic curve scalar multiplications. Such errors would have been detected with high probability by the output validation for our scalar multipliers.


How to mitigate CVE-2016-1000340

Install updates from vendor's website.

Sources