mgh3326 / freelec-springboot2-webservice_practice

0 stars 0 forks source link

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

Open mend-bolt-for-github[bot] opened 10 months ago

mend-bolt-for-github[bot] commented 10 months ago

CVE-2022-22978 - Critical Severity Vulnerability

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

spring-security-web

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

Path to dependency file: /build.gradle

Path to vulnerable library: /root/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-web/5.1.6.RELEASE/e3b159e84467cccddce815d30a9ccdc8d8b843c9/spring-security-web-5.1.6.RELEASE.jar

Dependency Hierarchy: - spring-security-test-5.1.6.RELEASE.jar (Root Library) - :x: **spring-security-web-5.1.6.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 49814507a42b2a0e0c74f976a10603c0f247893d

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.security:spring-security-test): 5.4.11


Step up your Open Source Security Game with Mend here