HIGH 7.5

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

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.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.bouncycastle » bcprov-jdk14
>= 1.38, < 1.56
1.56
org.bouncycastle » bcprov-jdk15
>= 1.38, < 1.56
1.56
org.bouncycastle » bcprov-jdk15on
>= 1.38, < 1.56
1.56

Blast radius

3affected artifacts
39affected versions
21,417dependent artifacts (est.)
2,011,494dependent versions

51% of the dependent artifacts (11,008) still pull an affected version in their latest release.

DepthDependent versions
Direct
31,998
2 hops
287,721
3 hops
712,934
4 hops
535,569
5 hops
314,829
6 hops
128,443

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.