CVE-2021-22096 json
Improper Output Neutralization for Logs in Spring Framework
published 2021-10-28 5 y ago modified 2026-06-17 4 mo ago also GHSA-rfmp-97jj-h8m6 , EUVD-2022-5162
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework:spring-core 5.2.18, 5.3.11
- maven org.springframework:spring 5.2.18, 5.3.11
- rhvm rhev manager 4.4 4.5.2.4-0.1.el8ev
- ovirt-engine rhev manager 4.4 4.5.2.4-0.1.el8ev
- ovirt-web-ui rhev manager 4.4 1.9.1-1.el8ev
- ovirt-engine-setup rhev manager 4.4 4.5.2.4-0.1.el8ev
- ovirt-engine-tools rhev manager 4.4 4.5.2.4-0.1.el8ev
- ovirt-log-collector rhev manager 4.4 4.4.7-2.el8ev
- ovirt-engine-backend rhev manager 4.4 4.5.2.4-0.1.el8ev
- ovirt-engine-restapi rhev manager 4.4 4.5.2.4-0.1.el8ev
red hat advisories RHSA-2022:6393RHSA-2022:5555
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-22096 updated cvss 4.3
springframework: malicious input leads to insertion of additional log entries
-
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 RHDM 7.12.1fixed: vendor fix RHSA-2022:1110
-
Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 rhvm 4.5.2.4-0.1.el8ev, ovirt-engine 4.5.2.4-0.1.el8ev, ovirt-dependencies 4.5.2-1.el8ev, ovirt-engine-setup 4.5.2.4-0.1.el8ev, ovirt-engine-tools 4.5.2.4-0.1.el8ev, ovirt-engine-backend 4.5.2.4-0.1.el8ev, +15 morefixed: vendor fix RHSA-2022:5555
-
Red Hat RHPAM 7.12.1fixed: vendor fix RHSA-2022:1108
-
Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 rhvm 4.5.1.2-0.11.el8ev, ovirt-web-ui 1.9.0-1.el8ev, ovirt-web-ui 1.9.1-1.el8ev, ovirt-engine-dwh 4.5.3-1.el8ev, ovirt-engine-dwh 4.5.4-1.el8ev, ovirt-engine 4.5.1.2-0.11.el8ev, +39 morenot 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
1.35% chance of exploitation in the next 30 days, higher than 71% 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.11 >=5.2.0, <5.2.18 |
5.3.11 5.2.18 |
| maven | org.springframework:spring | >=5.2.0, <5.2.18 >=5.3.0, <5.3.11 |
5.2.18 5.3.11 |
Affected products
- n/a Spring Framework
Classification
- Weakness
-
- CWE-117 Improper Output Neutralization for Logs
- Technology feeds
References
-
tanzu.vmware.com
/security/cve-2021-22096
web, vendor-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20211125-0005/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-22096
advisory
-
github.com
/spring-projects/spring-framework
package
-
security.netapp.com
/advisory/ntap-20211125-0005
web
Sources
- CVE List CVE-2021-22096
- GitHub Advisory GHSA-rfmp-97jj-h8m6
- NVD CVE-2021-22096
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.