hughcdemocorp-mend / WebGoat-LVP

Other
0 stars 3 forks source link

jjwt-0.9.1.jar: 1 vulnerabilities (highest severity is: 8.7) unreachable - autoclosed #54

Closed mend-for-github-com[bot] closed 7 months ago

mend-for-github-com[bot] commented 7 months ago
Vulnerable Library - jjwt-0.9.1.jar

Library home page: https://github.com/jwtk/jjwt

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/jsonwebtoken/jjwt/0.9.1/jjwt-0.9.1.jar

Found in HEAD commit: 6ddb9641a57f81550a62ce92f5c7c54324375e0a

Mend has checked all newer package trees, and you are on the least vulnerable package!

Please note: There might be a version that explicitly solves one or more of the vulnerabilities listed below, but we do not recommend it. For more info about the optional fixes, check the "Details" section below.

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (jjwt version) Fix PR available Reachability
CVE-2024-31033 High 8.7 Not Defined 0.0% jjwt-0.9.1.jar Direct N/A

Unreachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-31033 ### Vulnerable Library - jjwt-0.9.1.jar

Library home page: https://github.com/jwtk/jjwt

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/jsonwebtoken/jjwt/0.9.1/jjwt-0.9.1.jar

Dependency Hierarchy: - :x: **jjwt-0.9.1.jar** (Vulnerable Library)

Found in HEAD commit: 6ddb9641a57f81550a62ce92f5c7c54324375e0a

Found in base branch: main

### Reachability Analysis

The vulnerable code is unreachable

### 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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

### CVSS 4 Score Details (8.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A

For more information on CVSS4 Scores, click here.

mend-for-github-com[bot] commented 7 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.