Vulnerability · Published Apr 1, 2024 · Assigned by mitre

CVE-2024-31033

Medium 6.8

In plain English

A medium-severity security flaw in the io.jsonwebtoken:jjwt-impl package (Maven). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.8%top 44.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

JJWT (aka Java JWT) through 0.12.5 ignores certain characters and thus a user might falsely conclude that they have a strong key. The impacted code is the setSigningKey() method within the DefaultJwtParser class and the signWith() method within the DefaultJwtBuilder class. NOTE: the vendor disputes this because the "ignores" behavior cannot occur (in any version) unless there is a user error in how JJWT is used, and because the version that was actually tested must have been more than six years out of date.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenio.jsonwebtoken:jjwt-implno fix listedGHSA-r65j-6h5f-4f92

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References