cve.bz

CVE-2022-22978 Incorrect Authorization

9.8 criticalEPSS 12%Fix available

Critical (9.8). EPSS 12% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-core 5.4.11, 5.5.7, 5.6.4.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
12% (unchanged from 12% a week ago; 12% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.springframework.security:spring-security-core (Maven): fixed in 5.5.7, 5.6.4, 5.4.11
  • org.springframework.security:spring-security-web (Maven): fixed in 5.5.7, 5.6.4, 5.4.11
  • Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2022-22978 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-22978?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-22978?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-22978 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:spring_securitybefore 5.5.7
vmware:spring_securityfrom 5.6.0 before 5.6.4
oracle:financial_services_crime_and_compliance_management_studio8.0.8.2.0
oracle:financial_services_crime_and_compliance_management_studio8.0.8.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-core>=5.5.0 <5.5.75.5.7
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-core>=5.6.0 <5.6.45.6.4
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-core<5.4.115.4.11
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-web>=5.5.0 <5.5.75.5.7
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-web>=5.6.0 <5.6.45.6.4
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-web<5.4.115.4.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.04:LTS, 26.10libspring-javano fix listedUBUNTU-CVE-2022-22978
Red Hatocp_tools:4.13::el8jenkins0:2.387.3.1684911776-3.el8RHSA-2023:3299
Red Hatocp_tools:4.13::el8jenkins-2-plugins0:4.13.1684911916-1.el8RHSA-2023:3299

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
OCP-Tools-4.13-RHEL-8jenkins-0:2.387.3.1684911776-3.el8Fixed 2023-05-24RHSA-2023:3299
Red Hat Fuse 7.11spring-securityFixed 2022-07-07RHSA-2022:5532
A-MQ Clients 2springframeworkNot affected
Red Hat build of QuarkusspringframeworkNot affected
Red Hat Data Grid 8springframeworkNot affected
Red Hat Decision Manager 7springframeworkFix deferred
Red Hat Integration Camel K 1springframeworkNot affected
Red Hat Integration Camel Quarkus 1springframeworkNot affected
Red Hat Integration Data Virtualisation OperatorspringframeworkOut of support scope
Red Hat JBoss BRMS 5springframeworkOut of support scope
Red Hat JBoss Data Grid 7springframeworkOut of support scope
Red Hat JBoss Data Virtualization 6springframeworkOut of support scope
Red Hat JBoss Fuse 6springframeworkOut of support scope
Red Hat JBoss Fuse Service Works 6springframeworkOut of support scope
Red Hat JBoss SOA Platform 5springframeworkOut of support scope
Red Hat OpenShift Container Platform 4jenkinsAffected
Red Hat Process Automation 7springframeworkFix deferred
Red Hat Single Sign-On 7springframeworkNot affected
Red Hat support for Spring BootspringframeworkNot affected
streams for Apache KafkaspringframeworkNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-22978.

References

Check your stackJSON