Improper Validation of Other Party's DH Public Key in Bouncy Castle JCE Provider (CVE-2016-1000342)

Improper Validation of Other Party's DH Public Key in Bouncy Castle JCE Provider (CVE-2016-1000342)

CVE-2016-1000346 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:N/A:N

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.

Learn more about our Web Application Penetration Testing UK.