ADVISORIES

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

EcosystemPackageAffected versions
Mavenorg.bouncycastle:bcprov-jdk14
All versions before 1.56 (fixed in 1.56)
Mavenorg.bouncycastle:bcprov-jdk15
All versions before 1.56 (fixed in 1.56)
Mavenorg.bouncycastle:bcprov-jdk15on
All versions before 1.56 (fixed in 1.56)

References