SecurityContext

CVE-2022-22978: Spring Security - Authorization Bypass

  • Cve: CVE-2022-22978
  • Name: Spring Security - Authorization Bypass
  • Description: 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.
  • Impact: Attackers can bypass authorization checks, potentially gaining unauthorized access to protected resources.
  • Remediation: Update to version 5.4.11+, 5.5.7+, 5.6.4+ or latest supported version.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.12351
  • Epss percentile: 0.96299
  • Assignee: [email protected]
  • Published at: 2022-05-19T15:15:08Z
  • Age in days: 1650
  • Modified at: 2026-06-17T04:29:17Z
  • Patch available: yes
  • Public exploits total: 7
  • References total: 1
  • Products total: 3
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22978
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-863Incorrect Authorization

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/he-ewo/CVE-2022-229782025-04-06
https://github.com/wan9xx/CVE-2022-22978-demo2024-05-17
https://github.com/Raghvendra1207/CVE-2022-229782023-03-16
https://github.com/umakant76705/CVE-2022-229782023-03-01
https://github.com/aeifkz/CVE-2022-229782022-07-13

References

UrlSourceTags
https://spring.io/security/cve-2022-22978nvd

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
vmware:spring_security>= 5.6.0, < 5.6.4; < 5.5.7/v1/products/vmware/spring_security
netapp:active_iq_unified_managerall versions/v1/products/netapp/active_iq_unified_manager
oracle:financial_services_crime_and_compliance_management_studio= 8.0.8.3.0, = 8.0.8.2.0/v1/products/oracle/financial_services_crime_and_compliance_management_studio

Projects

RepositoryLink kindsIndexedUrl
anchore/grypeissuesyes/v1/repositories/anchore/grype
spring-projects/spring-securitypackageyes/v1/repositories/spring-projects/spring-security

Index

  • Repositories: 126
  • Repositories high signal: 78
  • Packages: 2

Exploitation

  • Public exploit: yes
  • Public exploit count: 7
  • Public exploit first date: 2022-05-31
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts