Skip to content
Fencer Vulns
critical 9.8

CVE-2022-22978 in the critical feed json

Authorization bypass in Spring Security

published 2022-05-19 4 y ago modified 2026-06-17 4 mo ago also GHSA-hh32-7344-cg2f , EUVD-2022-4151

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
12.4%
EPSS 12.4% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known

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.

Patch / fix

  • maven org.springframework.security:spring-security-core 5.4.11, 5.5.7, 5.6.4
  • maven org.springframework.security:spring-security-web 5.4.11, 5.5.7, 5.6.4
  • vmware spring_security 5.5.7, 5.6.4
  • jenkins ocp tools 4.13 2.387.3.1684911776-3.el8
  • jenkins-2-plugins ocp tools 4.13 4.13.1684911916-1.el8

red hat advisories RHSA-2023:3299

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-22978 updated cvss 9.8

springframework: Authorization Bypass in RegexRequestMatcher

  • Red Hat Decision Manager 7 springframework springframework
    affected: no fix available “Fix deferred”
  • Red Hat Integration Data Virtualisation Operator springframework springframework Red Hat JBoss BRMS 5 springframework springframework Red Hat JBoss Data Grid 7 springframework springframework Red Hat JBoss Data Virtualization 6 springframework springframework Red Hat JBoss Fuse 6 springframework springframework Red Hat JBoss Fuse Service Works 6 springframework springframework
    +1 more products
    Red Hat JBoss SOA Platform 5 springframework springframework
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 jenkins
    affected: no fix available
  • Red Hat Process Automation 7 springframework springframework
    affected: no fix available “Fix deferred”
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.387.3.1684911776-3.el8
    fixed: vendor fix RHSA-2023:3299
  • Red Hat Fuse 7.11
    fixed: vendor fix RHSA-2022:5532
  • Red Hat A-MQ Clients 2 springframework springframework Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1684911916-1.el8 Red Hat build of Quarkus springframework springframework Red Hat Data Grid 8 springframework springframework Red Hat Integration Camel K 1 springframework springframework Red Hat Integration Camel Quarkus 1 springframework springframework
    +3 more products
    Red Hat Single Sign-On 7 springframework springframework Red Hat support for Spring Boot springframework springframework Red Hat streams for Apache Kafka springframework springframework
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

12.35% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.springframework.security:spring-security-core
>=5.5.0, <5.5.7
>=5.6.0, <5.6.4
<5.4.11
5.5.7
5.6.4
5.4.11
maven org.springframework.security:spring-security-web
>=5.5.0, <5.5.7
>=5.6.0, <5.6.4
<5.4.11
5.5.7
5.6.4
5.4.11

Affected products

  • n/a Spring Security

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.