CVE-2021-22112: Privilege escalation in spring security

CVE-2021-22112 · Severity: low · CVSS 3.1 · Published 2021-05-10

Privilege escalation in spring security

Technologies: org.springframework.security:spring-security-web (Maven). Vendors: Maven.

Quick answers

Is CVE-2021-22112 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-22112 being exploited in the wild.
How severe is CVE-2021-22112?
Low severity, with a CVSS score of 3.1, published 10 May 2021.
Which products and versions are affected?
org.springframework.security:spring-security-bom (Maven) ECOSYSTEM:introduced=5.4.0,fixed=5.4.4; org.springframework.security:spring-security-web (Maven) ECOSYSTEM:introduced=5.4.0,fixed=5.4.4.
Is there a fix for CVE-2021-22112?
Yes. org.springframework.security:spring-security-bom (Maven): upgrade to 5.4.4 or later; org.springframework.security:spring-security-web (Maven): upgrade to 5.4.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-22112?
Check whether you run org.springframework.security:spring-security-bom (Maven) or org.springframework.security:spring-security-web (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.springframework.security:spring-security-bom (Maven): upgrade to 5.4.4 or later
    # set org.springframework.security:spring-security-bom to 5.4.4 in your pom.xml or build.gradle
  • org.springframework.security:spring-security-web (Maven): upgrade to 5.4.4 or later
    # set org.springframework.security:spring-security-web to 5.4.4 in your pom.xml or build.gradle

Affected products

  • org.springframework.security:spring-security-bom (Maven) ECOSYSTEM:introduced=5.4.0,fixed=5.4.4
  • org.springframework.security:spring-security-web (Maven) ECOSYSTEM:introduced=5.4.0,fixed=5.4.4

Identifiers

  • CVE-2021-22112
  • GHSA-gq28-h5vg-8prx

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.