VDB

CVE-2021-22060

CVE-2021-22060 PUBLISHED

Log entry injection in Spring Framework

Reported by vmware · Published January 7, 2022

spring-core is fixed in 5.3.14 and 5.2.19 (Maven Central)

In Spring Framework versions 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries. This is a follow-up to CVE-2021-22096 that protects against additional types of input and in more places of the Spring Framework codebase.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework:spring-coreMaven Central5.3.14, 5.2.19
spring_frameworkvmware5.3.13, 5.2.18

Affected products

VendorProductVersions
n/aSpring FrameworkSpring Framework 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions
n/aSpring FrameworkSpring Framework 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions

Timeline

  • Jan 5, 2022 CVE Published
  • Jan 8, 2022 EPSS Score (30 in total, the first dated here)
  • Jan 28, 2024 PoC Published
  • Mar 17, 2026 Security Advisory (30 in total, the first dated here)
  • Mar 20, 2026 Distribution Patch (28 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22060
vulnetix vdb fixes CVE-2021-22060

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22060/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›