SimaTankSAAS / nifi-1.4.0

Apache License 2.0
0 stars 1 forks source link

jjwt-0.6.0.jar: 1 vulnerabilities (highest severity is: 6.8) #128

Open mend-for-github-com[bot] opened 5 months ago

mend-for-github-com[bot] commented 5 months ago
Vulnerable Library - jjwt-0.6.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: /nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/pom.xml

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

Found in HEAD commit: 0707e245fb382da58db8bb8ec5ccff5d9ae55c39

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jjwt version) Remediation Possible**
CVE-2024-31033 Medium 6.8 jjwt-0.6.0.jar Direct N/A

**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.6.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: /nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/pom.xml

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

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

Found in HEAD commit: 0707e245fb382da58db8bb8ec5ccff5d9ae55c39

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 (6.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.