Skip to main content
← All vulnerabilities
CVE-2022-22978GHSA-HH32-7344-CG2F

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can easily be misconfigure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.5.7, 5.6.4, 5.4.11
7 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a Spring Security

    Version range not reported

  • org.springframework.security:spring-security-coreMaven

    From 5.5.0 · fixed in 5.5.7

  • org.springframework.security:spring-security-coreMaven

    From 5.6.0 · fixed in 5.6.4

  • org.springframework.security:spring-security-coreMaven

    fixed in 5.4.11

  • org.springframework.security:spring-security-webMaven

    From 5.5.0 · fixed in 5.5.7

  • org.springframework.security:spring-security-webMaven

    From 5.6.0 · fixed in 5.6.4

  • org.springframework.security:spring-security-webMaven

    fixed in 5.4.11

References 8

spring.io

GitHub · DeEpinGh0st/CVE-2022-22978

GitHub · Raghvendra1207/CVE-2022-22978

GitHub · aeifkz/CVE-2022-22978

GitHub · ducluongtran9121/CVE-2022-22978-PoC

GitHub · he-ewo/CVE-2022-22978

GitHub · umakant76705/CVE-2022-22978

GitHub · wan9xx/CVE-2022-22978-demo