Key Management Errors Affecting bouncycastle package, versions <1.56-1


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.33% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-BOUNCYCASTLE-278514
  • published4 Jun 2018
  • disclosed4 Jun 2018

Introduced: 4 Jun 2018

CVE-2016-1000346  (opens in a new tab)
CWE-320  (opens in a new tab)

How to fix?

Upgrade Debian:unstable bouncycastle to version 1.56-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bouncycastle package and not the bouncycastle package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.