CVE-2021-22060 json
Log entry injection in Spring Framework
published 2022-01-07 4 y ago modified 2026-06-17 4 mo ago also GHSA-6gf2-pvqw-37ph , EUVD-2022-0479
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework:spring-core 5.2.19, 5.3.14
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-22060 updated cvss 4.3
springframework: Additional Log Injection in Spring Framework (follow-up to CVE-2021-22096)
-
Red Hat JBoss BRMS 5 springframework springframework Red Hat JBoss Data Virtualization 6 springframework springframework Red Hat JBoss Fuse 6 springframework springframework Red Hat JBoss Fuse Service Works 6 springframework springframework Red Hat JBoss SOA Platform 5 springframework springframeworkaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7.11fixed: vendor fix RHSA-2022:5532
-
Red Hat Decision Manager 7 springframework springframework Red Hat Process Automation 7 springframework springframework Red Hat Virtualization 4 rhvm-dependenciesnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework:spring-core | >=5.3.0, <5.3.14 >=5.2.0, <5.2.19 |
5.3.14 5.2.19 |
Affected products
- n/a Spring Framework
Classification
- Technology feeds
References
-
tanzu.vmware.com
/security/cve-2021-22060
web, vendor-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-22060
advisory
Sources
- CVE List CVE-2021-22060
- GitHub Advisory GHSA-6gf2-pvqw-37ph
- NVD CVE-2021-22060
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.