billmcchesney1 / pacbot

PacBot (Policy as Code Bot)
https://tmobile.github.io/pacbot/
Apache License 2.0
0 stars 0 forks source link

CVE-2022-22978 (Critical) detected in spring-security-web-5.0.7.RELEASE.jar #418

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2022-22978 - Critical Severity Vulnerability

Vulnerable Library - spring-security-web-5.0.7.RELEASE.jar

spring-security-web

Library home page: http://spring.io/

Path to dependency file: /api/pacman-api-admin/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.0.4.RELEASE.jar (Root Library) - :x: **spring-security-web-5.0.7.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: acf9a0620c1a37cee4f2896d71e1c3731c5c7b06

Found in base branch: master

Vulnerability Details

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ 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 (9.8)

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: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2022-22978/

Release Date: 2022-05-19

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0


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