Vulnerability in Bouncycastle Bc-Java
CVE-2016-1000340
In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.023, 83.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, dotanuki-labs/android-oss-cves-research, nekuroporisu/android-oss-cves-research). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2018:2669 (vendor-advisory)
- RHSA-2018:2927 (vendor-advisory)
- www.oracle.com/security-alerts/cpuoct2020.html
- security.netapp.com/advisory/ntap-20181127-0004/
- github.com/bcgit/bc-java/commit/790642084c4e0cadd47352054f868cc8397e2c00 (Patch, Third Party Advisory)