CVE-2022-22978
Java packages · CVE-2022-22978
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 12.351% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:32.877Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:10.865Z | OSV |
| affected | verified | 2026-11-19T12:56:19.131Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:19.131Z | CVE Program |
Affected versions and configuration
n/a Spring Security; default status: unknown: Spring security versions 5.4.x prior to 5.4.11+,5.5.x prior to 5.5.7+,5.6.x prior to 5.6.4+ and all earlier unsupported versions [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "Spring Security",
"versions": [
{
"status": "affected",
"version": "Spring security versions 5.4.x prior to 5.4.11+,5.5.x prior to 5.5.7+,5.6.x prior to 5.6.4+ and all earlier unsupported versions"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://spring.io/security/cve-2022-22978",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T03:28:42.507Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-hh32-7344-cg2f",
"aliases": [
"CVE-2022-22978"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.5.7"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-core",
"purl": "pkg:maven/org.springframework.security/spring-security-core",
"ecosystem": "Maven"
},
"versions": [
"5.5.0",
"5.5.1",
"5.5.2",
"5.5.3",
"5.5.4",
"5.5.5",
"5.5.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hh32-7344-cg2f/GHSA-hh32-7344-cg2f.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.6.0"
},
{
"fixed": "5.6.4"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-core",
"purl": "pkg:maven/org.springframework.security/spring-security-core",
"ecosystem": "Maven"
},
"versions": [
"5.6.0",
"5.6.1",
"5.6.2",
"5.6.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hh32-7344-cg2f/GHSA-hh32-7344-cg2f.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4.11"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-core",
"purl": "pkg:maven/org.springframework.security/spring-security-core",
"ecosystem": "Maven"
},
"versions": [
"2.0.0",
"2.0.1",
"2.0.2",
"2.0.3",
"2.0.4",
"2.0.5.RELEASE",
"2.0.6.RELEASE",
"2.0.7.RELEASE",
"2.0.8.RELEASE",
"3.0.0.RELEASE",
"3.0.1.RELEASE",
"3.0.2.RELEASE",
"3.0.3.RELEASE",
"3.0.4.RELEASE",
"3.0.5.RELEASE",
"3.0.6.RELEASE",
"3.0.7.RELEASE",
"3.0.8.RELEASE",
"3.1.0.RELEASE",
"3.1.1.RELEASE",
"3.1.2.RELEASE",
"3.1.3.RELEASE",
"3.1.4.RELEASE",
"3.1.5.RELEASE",
"3.1.6.RELEASE",
"3.1.7.RELEASE",
"3.2.0.RELEASE",
"3.2.1.RELEASE",
"3.2.10.RELEASE",
"3.2.2.RELEASE",
"3.2.3.RELEASE",
"3.2.4.RELEASE",
"3.2.5.RELEASE",
"3.2.6.RELEASE",
"3.2.7.RELEASE",
"3.2.8.RELEASE",
"3.2.9.RELEASE",
"4.0.0.RELEASE",
"4.0.1.RELEASE",
"4.0.2.RELEASE",
"4.0.3.RELEASE",
"4.0.4.RELEASE",
"4.1.0.RELEASE",
"4.1.1.RELEASE",
"4.1.2.RELEASE",
"4.1.3.RELEASE",
"4.1.4.RELEASE",
"4.1.5.RELEASE",
"4.2.0.RELEASE",
"4.2.1.RELEASE",
"4.2.10.RELEASE",
"4.2.11.RELEASE",
"4.2.12.RELEASE",
"4.2.13.RELEASE",
"4.2.14.RELEASE",
"4.2.15.RELEASE",
"4.2.16.RELEASE",
"4.2.17.RELEASE",
"4.2.18.RELEASE",
"4.2.19.RELEASE",
"4.2.2.RELEASE",
"4.2.20.RELEASE",
"4.2.3.RELEASE",
"4.2.4.RELEASE",
"4.2.5.RELEASE",
"4.2.6.RELEASE",
"4.2.7.RELEASE",
"4.2.8.RELEASE",
"4.2.9.RELEASE",
"5.0.0.RELEASE",
"5.0.1.RELEASE",
"5.0.10.RELEASE",
"5.0.11.RELEASE",
"5.0.12.RELEASE",
"5.0.13.RELEASE",
"5.0.14.RELEASE",
"5.0.15.RELEASE",
"5.0.16.RELEASE",
"5.0.17.RELEASE",
"5.0.18.RELEASE",
"5.0.19.RELEASE",
"5.0.2.RELEASE",
"5.0.3.RELEASE",
"5.0.4.RELEASE",
"5.0.5.RELEASE",
"5.0.6.RELEASE",
"5.0.7.RELEASE",
"5.0.8.RELEASE",
"5.0.9.RELEASE",
"5.1.0.RELEASE",
"5.1.1.RELEASE",
"5.1.10.RELEASE",
"5.1.11.RELEASE",
"5.1.12.RELEASE",
"5.1.13.RELEASE",
"5.1.2.RELEASE",
"5.1.3.RELEASE",
"5.1.4.RELEASE",
"5.1.5.RELEASE",
"5.1.6.RELEASE",
"5.1.7.RELEASE",
"5.1.8.RELEASE",
"5.1.9.RELEASE",
"5.2.0.RELEASE",
"5.2.1.RELEASE",
"5.2.10.RELEASE",
"5.2.11.RELEASE",
"5.2.12.RELEASE",
"5.2.13.RELEASE",
"5.2.14.RELEASE",
"5.2.15.RELEASE",
"5.2.2.RELEASE",
"5.2.3.RELEASE",
"5.2.4.RELEASE",
"5.2.5.RELEASE",
"5.2.6.RELEASE",
"5.2.7.RELEASE",
"5.2.8.RELEASE",
"5.2.9.RELEASE",
"5.3.0.RELEASE",
"5.3.1.RELEASE",
"5.3.10.RELEASE",
"5.3.11.RELEASE",
"5.3.12.RELEASE",
"5.3.13.RELEASE",
"5.3.2.RELEASE",
"5.3.3.RELEASE",
"5.3.4.RELEASE",
"5.3.5.RELEASE",
"5.3.6.RELEASE",
"5.3.7.RELEASE",
"5.3.8.RELEASE",
"5.3.9.RELEASE",
"5.4.0",
"5.4.1",
"5.4.10",
"5.4.2",
"5.4.3",
"5.4.4",
"5.4.5",
"5.4.6",
"5.4.7",
"5.4.8",
"5.4.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hh32-7344-cg2f/GHSA-hh32-7344-cg2f.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22978",
"type": "ADVISORY"
},
{
"url": "https://github.com/anchore/grype/issues/2158",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-security",
"type": "PACKAGE"
},
{
"url": "https://github.com/spring-projects/spring-security/blob/main/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20220707-0003",
"type": "WEB"
},
{
"url": "https://spring.io/security/cve-2022-22978",
"type": "WEB"
},
{
"url": "https://tanzu.vmware.com/security/cve-2022-22978",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-285",
"CWE-863"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2022-05-19T15:15:00Z",
"github_reviewed_at": "2022-05-25T20:20:36Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | org.springframework.security:spring-security-core | Not a distribution channel | 5.5.7 | Official record |
| ecosystem-boundary | Maven / package | org.springframework.security:spring-security-core | Not a distribution channel | 5.6.4 | Official record |
| ecosystem-boundary | Maven / package | org.springframework.security:spring-security-core | Not a distribution channel | 5.4.11 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:10.865ZArchived source JSON
Source publication: 2022-05-20T00:00:39.000Z
Source modification: 2024-10-04T20:33:08.794ZDocument fingerprint
62f9b841ba12eb551448657b24bc079930df60ce0c3ea720898179c2aa4fc65e - CVE ProgramConsulted: 2026-11-19T12:56:19.131ZArchived source JSON
Source publication: 2022-05-19T00:00:00.000Z
Source modification: 2024-08-03T03:28:42.507ZDocument fingerprint
709dd1551979f3135be4ba7dd008ba97504b214e605d90e7f5c25c4bcf631f31 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:32.877ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
09692db23ae991b23210d76fe49e08c229368c3f28b258bdb2be98d30dab7493
Official status history
- UNKNOWN → PUBLISHED · · evidence