Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk15
  4. ›
  5. CVE-2016-1000342

CVE-2016-1000342: Improper Verification of Cryptographic Signature

October 17, 2018 (updated September 16, 2021)

In the Bouncy Castle JCE Provider version 1.55 and earlier ECDSA does not fully validate ASN.1 encoding of signature on verification. It is possible to inject extra elements in the sequence making up the signature and still have it validate, which in some cases may allow the introduction of ‘invisible’ data into a signed structure.

References

  • github.com/advisories/GHSA-qcj7-g2j5-g7r3
  • github.com/bcgit/bc-java/commit/843c2e60f67d71faf81d236f448ebbe56c62c647
  • nvd.nist.gov/vuln/detail/CVE-2016-1000342

Code Behaviors & Features

Detect and mitigate CVE-2016-1000342 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.56

Fixed versions

  • 1.56

Solution

Upgrade to version 1.56 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature
  • CWE-707: Improper Neutralization

Source file

maven/org.bouncycastle/bcprov-jdk15/CVE-2016-1000342.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:26 +0000.