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.
CVE-2024-31033 - High Severity Vulnerability
Vulnerable Library - jjwt-0.9.0.jar
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Library home page: http://nexus.sonatype.org/oss-repository-hosting.html/jjwt
Path to dependency file: /pom.xml
Path to vulnerable library: /20201127105057_JYADOJ/downloadResource_XKWWQX/20201127110016/jjwt-0.9.0.jar
Dependency Hierarchy: - :x: **jjwt-0.9.0.jar** (Vulnerable Library)
Found in HEAD commit: 26994796809a3a8687a975e3361495d457afe47c
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2024-04-01
URL: CVE-2024-31033
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Step up your Open Source Security Game with Mend here