jgeraigery / synapse

Synapse is a set of lightweight foundational framework modules for rapid development, built-in with enterprise-grade maturity and quality.
Apache License 2.0
0 stars 0 forks source link

spring-security-core-5.7.3.jar: 2 vulnerabilities (highest severity is: 8.2) #83

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

mend-for-github-com[bot] commented 6 months ago
Vulnerable Library - spring-security-core-5.7.3.jar

Spring Security

Library home page: https://spring.io

Path to dependency file: /function/function-samples/sample-function-greeting/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar

Found in HEAD commit: ac25342ed87808bc68336b53ce636a671aca91da

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (spring-security-core version) Remediation Possible** Reachability
CVE-2024-22257 High 8.2 Not Defined 0.0% spring-security-core-5.7.3.jar Direct 5.7.12
CVE-2024-38827 Medium 4.8 Not Defined detected in multiple dependencies Transitive 5.7.14

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

Details

CVE-2024-22257 ### Vulnerable Library - spring-security-core-5.7.3.jar

Spring Security

Library home page: https://spring.io

Path to dependency file: /function/function-samples/sample-function-greeting/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar

Dependency Hierarchy: - :x: **spring-security-core-5.7.3.jar** (Vulnerable Library)

Found in HEAD commit: ac25342ed87808bc68336b53ce636a671aca91da

Found in base branch: develop

### Vulnerability Details

In Spring Security, versions 5.7.x prior to 5.7.12, 5.8.x prior to 5.8.11, versions 6.0.x prior to 6.0.9, versions 6.1.x prior to 6.1.8, versions 6.2.x prior to 6.2.3, an application is possible vulnerable to broken access control when it directly uses the AuthenticatedVoter#vote passing a null Authentication parameter.

Publish Date: 2024-03-18

URL: CVE-2024-22257

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

### CVSS 3 Score Details (8.2)

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: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-03-18

Fix Resolution: 5.7.12

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-38827 ### Vulnerable Libraries - spring-security-crypto-5.7.3.jar, spring-security-core-5.7.3.jar

### spring-security-crypto-5.7.3.jar

Spring Security

Library home page: https://spring.io

Path to dependency file: /function/synapse-function/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.7.3/spring-security-crypto-5.7.3.jar

Dependency Hierarchy: - spring-security-core-5.7.3.jar (Root Library) - :x: **spring-security-crypto-5.7.3.jar** (Vulnerable Library) ### spring-security-core-5.7.3.jar

Spring Security

Library home page: https://spring.io

Path to dependency file: /function/function-samples/sample-function-greeting/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.7.3/spring-security-core-5.7.3.jar

Dependency Hierarchy: - :x: **spring-security-core-5.7.3.jar** (Vulnerable Library)

Found in HEAD commit: ac25342ed87808bc68336b53ce636a671aca91da

Found in base branch: develop

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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS:

### CVSS 3 Score Details (4.8)

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

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-crypto): 5.7.14

Direct dependency fix Resolution (org.springframework.security:spring-security-core): 5.7.14

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.