GHSA-fjqm-246c-mwqg

In Bouncy Castle JCE Provider the other party DH public key is not fully validated

At a glance

Published
Updated
CVE
CVE-2016-1000346
CVSS_V3
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Description

In the Bouncy Castle JCE Provider version 1.55 and earlier the other party DH public key is not fully validated. This can cause issues as invalid keys can be used to reveal details about the other party's private key where static Diffie-Hellman is in use. As of release 1.56 the key parameters are checked on agreement calculation.

Affected packages

PackageVersions
Maven · org.bouncycastle:bcprov-jdk14introduced 0, fixed 1.56
Maven · org.bouncycastle:bcprov-jdk15introduced 0, fixed 1.56
Maven · org.bouncycastle:bcprov-jdk15onintroduced 0, fixed 1.56

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database