# CVE-2021-22060: Log entry injection in Spring Framework

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2022-01-07T22:39:55.000Z
- Modified: 2026-06-17T03:36:37.457Z
- Also known as: GHSA-6gf2-pvqw-37ph
- Assigned by: vmware

## Description

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.

(As written by CVE List.)

## Affected

- Spring Framework: Spring Framework 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions
- org.springframework:spring-core (Maven): from 5.3.0 before 5.3.14; from 5.2.0 before 5.2.19
- vmware spring_framework: from 5.2.0 up to 5.2.18; from 5.3.0 up to 5.3.13
- oracle communications_cloud_native_core_console: 1.9.0
- oracle communications_cloud_native_core_service_communication_proxy: 1.15.0

## Every score

- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://tanzu.vmware.com/security/cve-2021-22060> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22060> (advisory)

## Sources

- CVE List: [CVE-2021-22060](https://www.cve.org/CVERecord?id=CVE-2021-22060), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-6gf2-pvqw-37ph](https://github.com/advisories/GHSA-6gf2-pvqw-37ph), CC-BY-4.0, modified 2024-12-04
- NVD: [CVE-2021-22060](https://nvd.nist.gov/vuln/detail/CVE-2021-22060), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22060 · Whole record: https://cve.day/CVE-2021-22060.json · Rebuilt by cve.day 2026-11-25T22:58:06.425Z
