CVE-2016-1000338 In Bouncy Castle JCE Provider it is possible to inject extra elements in the sequence making up the signature and still have it validate
HighCVSS 7.5
EPSS 1.8%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
Description
In Bouncy Castle JCE Provider version 1.55 and earlier the DSA 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.
Upgrade path
13 packages: 8 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp 7-mode transition tool | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu Pro 16.04) | = 1.49+dfsg-3ubuntu1; = 1.51-4ubuntu1; = 1.51-4ubuntu1+esm1; All versions | No fix listed | No fix yet |
| bouncycastle legion-of-the-bouncy-castle-java-crytography-api | >= 1.38, < 1.56 | 1.56 | Fixed |
| debian/bouncycastle(Debian 12) | < 1.56-1 | 1.56-1 | Fixed |
| debian/bouncycastle(Debian 13) | < 1.56-1 | 1.56-1 | Fixed |
| debian/bouncycastle(Debian 14) | < 1.56-1 | 1.56-1 | Fixed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.38; = 1.43; = 1.44; = 1.45 +10 more | 1.56 | Fixed |
| org.bouncycastle/bcprov-jdk15(Maven) | = 1.38; = 1.40; = 1.43; = 1.44 +3 more | 1.56 | Fixed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.46; = 1.47; = 1.48; = 1.49 +7 more | 1.56 | Fixed |
| ubuntu/bouncycastle(Ubuntu 14.04) | < 1.49+dfsg-2ubuntu0.1; = 1.48+dfsg-2; = 1.49+dfsg-2 | 1.49+dfsg-2ubuntu0.1 | Fixed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed | Versions listed |
| redhat satellite | = 6.4 | No fix listed | Versions listed |
| redhat satellite capsule | = 6.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle/bcprov-jdk14(Maven) | >= 1.38, < 1.56 | 1.56 |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.38 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.43 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.44 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.45 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.46 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.47 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.48 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.49 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.50 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.51 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.53 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.54 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.55 | No fix listed |
| org.bouncycastle/bcprov-jdk15(Maven) | >= 1.38, < 1.56 | 1.56 |
| org.bouncycastle/bcprov-jdk15(Maven) | = 1.38 | No fix listed |
| org.bouncycastle/bcprov-jdk15(Maven) | = 1.40 | No fix listed |
| org.bouncycastle/bcprov-jdk15(Maven) | = 1.43 | No fix listed |
| org.bouncycastle/bcprov-jdk15(Maven) | = 1.44 | No fix listed |
| org.bouncycastle/bcprov-jdk15(Maven) | = 1.45 | No fix listed |
| org.bouncycastle/bcprov-jdk15(Maven) | = 1.46 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | >= 1.38, < 1.56 | 1.56 |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.46 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.47 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.48 | No fix listed |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.49 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.50 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.51 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.52 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.53 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.54 | No fix listed |
| org.bouncycastle/bcprov-jdk15on(Maven) | = 1.55 | No fix listed |
| debian/bouncycastle(Debian:12) | < 1.56-1 | 1.56-1 |
| debian/bouncycastle(Debian:13) | < 1.56-1 | 1.56-1 |
| debian/bouncycastle(Debian:14) | < 1.56-1 | 1.56-1 |
| bouncycastle legion-of-the-bouncy-castle-java-crytography-api | >= 1.38, < 1.56 | 1.56 |
| redhat satellite | = 6.4 | No fix listed |
| redhat satellite capsule | = 6.4 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| netapp 7-mode transition tool | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:14.04) | < 1.49+dfsg-2ubuntu0.1 | 1.49+dfsg-2ubuntu0.1 |
| ubuntu/bouncycastle(Ubuntu:14.04) | = 1.48+dfsg-2 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:14.04) | = 1.49+dfsg-2 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | = 1.49+dfsg-3ubuntu1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | = 1.51-4ubuntu1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | = 1.51-4ubuntu1+esm1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- RHSA-2018:2669 third-party-advisory vendor-advisory
- RHSA-2018:2927 third-party-advisory vendor-advisory
- github.com product
- [lucene-solr-user] 20190104 Re: SOLR v7 Security Issues Caused Denial of Use - Sonatype Application Composition Report mailing-list third-party-advisory
- lists.apache.org
- [debian-lts-announce] 20180707 [SECURITY] [DLA 1418-1] bouncycastle security update mailing-list third-party-advisory
- security.netapp.com third-party-advisory
- USN-3727-1 third-party-advisory vendor-advisory
- www.oracle.com third-party-advisory
- Debian Security Tracker CVE-2016-1000338 vendor-advisory
- github.com
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking