Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-oauth2-client
  4. ›
  5. CVE-2021-22119

CVE-2021-22119: Incorrect Authorization

July 2, 2021 (updated July 27, 2021)

Spring Security versions 5.5.x prior to 5.5.1, 5.4.x prior to 5.4.7, 5.3.x prior to 5.3.10 and 5.2.x prior to 5.2.11 are susceptible to a Denial-of-Service (DoS) attack via the initiation of the Authorization Request in an OAuth 2.0 Client Web and WebFlux 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 or multiple sessions.

References

  • github.com/advisories/GHSA-w9jg-gvgr-354m
  • github.com/spring-projects/spring-security/pull/9513
  • nvd.nist.gov/vuln/detail/CVE-2021-22119
  • tanzu.vmware.com/security/cve-2021-22119

Code Behaviors & Features

Detect and mitigate CVE-2021-22119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.5.0 before 5.5.1, all versions starting from 5.4.0 before 5.4.7, all versions starting from 5.3.0 up to 5.3.9, all versions starting from 5.2.0 up to 5.2.10

Fixed versions

  • 5.5.1
  • 5.5.1
  • 5.5.1
  • 5.5.1
  • 5.3.10
  • 5.2.11

Solution

Upgrade to versions 5.5.1, 5.5.1, 5.5.1, 5.5.1, 5.3.10, 5.2.11 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

maven/org.springframework.security/spring-security-oauth2-client/CVE-2021-22119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.