CVE-2021-22060
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework:spring-core | Maven Central | 5.3.14, 5.2.19 |
| spring_framework | vmware | 5.3.13, 5.2.18 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring Framework | Spring Framework 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions |
| n/a | Spring Framework | Spring 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