ls1intum / prompt

PROMPT is a support tool designed to assist program management in project-based courses
10 stars 1 forks source link

spring-boot-starter-oauth2-resource-server-3.2.11.jar: 1 vulnerabilities (highest severity is: 5.5) - autoclosed #717

Closed mend-bolt-for-github[bot] closed 1 week ago

mend-bolt-for-github[bot] commented 1 week ago
Vulnerable Library - spring-boot-starter-oauth2-resource-server-3.2.11.jar

Path to dependency file: /server/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-core/6.2.7/485621b45b4f54e0a2b36ccd730d29ea11514c89/spring-security-core-6.2.7.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-oauth2-resource-server version) Remediation Possible**
CVE-2024-38827 Medium 5.5 detected in multiple dependencies Transitive 3.3.0

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

Details

CVE-2024-38827 ### Vulnerable Libraries - spring-security-web-6.2.7.jar, spring-security-config-6.2.7.jar, spring-security-core-6.2.7.jar

### spring-security-web-6.2.7.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-web/6.2.7/2a83fe4dd29d95d7be4cc690656a65d60890e0f0/spring-security-web-6.2.7.jar

Dependency Hierarchy: - spring-boot-starter-oauth2-resource-server-3.2.11.jar (Root Library) - spring-security-oauth2-resource-server-6.2.7.jar - :x: **spring-security-web-6.2.7.jar** (Vulnerable Library) ### spring-security-config-6.2.7.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-config/6.2.7/ebd6433ac7bcea00152f2bb08fd6e5a365f067e3/spring-security-config-6.2.7.jar

Dependency Hierarchy: - spring-boot-starter-oauth2-resource-server-3.2.11.jar (Root Library) - :x: **spring-security-config-6.2.7.jar** (Vulnerable Library) ### spring-security-core-6.2.7.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-core/6.2.7/485621b45b4f54e0a2b36ccd730d29ea11514c89/spring-security-core-6.2.7.jar

Dependency Hierarchy: - spring-boot-starter-oauth2-resource-server-3.2.11.jar (Root Library) - :x: **spring-security-core-6.2.7.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in authorization rules not working properly.

Publish Date: 2024-06-20

URL: CVE-2024-38827

### CVSS 3 Score Details (5.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-38827

Release Date: 2024-06-20

Fix Resolution (org.springframework.security:spring-security-web): 6.2.8

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-resource-server): 3.3.0

Fix Resolution (org.springframework.security:spring-security-config): 6.2.8

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-resource-server): 3.3.0

Fix Resolution (org.springframework.security:spring-security-core): 6.2.8

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-resource-server): 3.3.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 1 week 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.