GitHub Advisory Database
GHSA-2j2x-hx4g-2gf4
In Bouncy Castle JCE Provider the DHIES implementation allowed the use of ECB mode
Details
In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES implementation allowed the use of ECB mode. This mode is regarded as unsafe and support for it has been removed from the provider.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk14 | All versions before 1.56 (fixed in 1.56) |
| Maven | org.bouncycastle:bcprov-jdk15 | All versions before 1.56 (fixed in 1.56) |
| Maven | org.bouncycastle:bcprov-jdk15on | All versions before 1.56 (fixed in 1.56) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000344
- https://github.com/bcgit/bc-java/commit/9385b0ebd277724b167fe1d1456e3c112112be1f
- https://access.redhat.com/errata/RHSA-2018:2669
- https://access.redhat.com/errata/RHSA-2018:2927
- https://github.com/advisories/GHSA-2j2x-hx4g-2gf4
- https://security.netapp.com/advisory/ntap-20181127-0004
- https://www.oracle.com/security-alerts/cpuoct2020.html