CVEMETERBack to radar
OFFICIAL RECORD · Java packages

CVE-2022-22978

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:32.877ZFIRST EPSS
patchesverified2026-11-19T12:52:10.865ZOSV
affectedverified2026-11-19T12:56:19.131ZCVE Program
lifecycleverified2026-11-19T12:56:19.131ZCVE 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryMaven / packageorg.springframework.security:spring-security-coreNot a distribution channel5.5.7Official record
ecosystem-boundaryMaven / packageorg.springframework.security:spring-security-coreNot a distribution channel5.6.4Official record
ecosystem-boundaryMaven / packageorg.springframework.security:spring-security-coreNot a distribution channel5.4.11Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history