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

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

May 24, 2022 (updated July 19, 2024)

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

References

  • github.com/advisories/GHSA-rfmp-97jj-h8m6
  • github.com/spring-projects/spring-framework
  • nvd.nist.gov/vuln/detail/CVE-2021-22096
  • security.netapp.com/advisory/ntap-20211125-0005
  • tanzu.vmware.com/security/cve-2021-22096
  • www.oracle.com/security-alerts/cpuapr2022.html

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.2.0 before 5.2.18, all versions starting from 5.3.0 before 5.3.11

Fixed versions

  • 5.2.18
  • 5.3.11

Solution

Upgrade to versions 5.2.18, 5.3.11 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-117: Improper Output Neutralization for Logs

Source file

maven/org.springframework/spring/CVE-2021-22096.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:33 +0000.