Tim-sandbox / petclinic-rest

Apache License 2.0
0 stars 0 forks source link

CVE-2022-22978 (High) detected in spring-security-web-5.4.2.jar #34

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2022-22978 - High Severity Vulnerability

Vulnerable Library - spring-security-web-5.4.2.jar

spring-security-web

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/5.4.2/spring-security-web-5.4.2.jar

Dependency Hierarchy: - spring-boot-starter-security-2.4.2.jar (Root Library) - :x: **spring-security-web-5.4.2.jar** (Vulnerable Library)

Found in HEAD commit: 338ae0024bb25a8bbd720eae5b5fbae3875c4bf3

Found in base branch: master

Vulnerability Details

In Spring Security versions 5.5.6 and 5.5.7 and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.

Publish Date: 2022-05-19

URL: CVE-2022-22978

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://tanzu.vmware.com/security/cve-2022-22978

Release Date: 2022-05-19

Fix Resolution: org.springframework.security:spring-security-web:5.5.7,5.6.4