HIGH 7.5

CVE-2017-12972

Nimbus JOSE+JWT missing overflow check

Description

In Nimbus JOSE+JWT before 4.39, there is no integer-overflow check when converting length values from bytes to bits, which allows attackers to conduct HMAC bypass attacks by shifting Additional Authenticated Data (AAD) and ciphertext so that different plaintext is obtained for the same HMAC.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.nimbusds » nimbus-jose-jwt
< 4.39
4.39

Blast radius

1affected artifacts
110affected versions
2,733dependent artifacts (est.)
410,460dependent versions

32% of the dependent artifacts (897) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,558
2 hops
74,985
3 hops
108,626
4 hops
96,676
5 hops
86,420
6 hops
36,195

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.