CVE-2021-22096: Improper Output Neutralization for Logs in Spring Framework

CVE-2021-22096 · Severity: low · CVSS 3.1 · Published 2022-05-24

Improper Output Neutralization for Logs in Spring Framework

Technologies: org.springframework:spring (Maven), org.springframework:spring-core (Maven). Vendors: Maven.

Quick answers

Is CVE-2021-22096 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-22096 being exploited in the wild.
How severe is CVE-2021-22096?
Low severity, with a CVSS score of 3.1, published 24 May 2022.
Which products and versions are affected?
org.springframework:spring (Maven) ECOSYSTEM:introduced=5.2.0,fixed=5.2.18; org.springframework:spring-core (Maven) ECOSYSTEM:introduced=5.3.0,fixed=5.3.11.
Is there a fix for CVE-2021-22096?
Yes. org.springframework:spring (Maven): upgrade to 5.2.18 or later; org.springframework:spring-core (Maven): upgrade to 5.3.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-22096?
Check whether you run org.springframework:spring (Maven) or org.springframework:spring-core (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:spring (Maven): upgrade to 5.2.18 or later
    # set org.springframework:spring to 5.2.18 in your pom.xml or build.gradle
  • org.springframework:spring-core (Maven): upgrade to 5.3.11 or later
    # set org.springframework:spring-core to 5.3.11 in your pom.xml or build.gradle

Affected products

  • org.springframework:spring (Maven) ECOSYSTEM:introduced=5.2.0,fixed=5.2.18
  • org.springframework:spring-core (Maven) ECOSYSTEM:introduced=5.3.0,fixed=5.3.11

Identifiers

  • CVE-2021-22096
  • GHSA-rfmp-97jj-h8m6

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