# Log entry injection in Spring Framework

Advisory record · `GHSA-6gf2-pvqw-37ph`

- **Identifiers:** `GHSA-6gf2-pvqw-37ph` · `CVE-2021-22060`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Published:** 12 Jan 2022
- **Updated:** 4 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Jan 2022, 23:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.springframework:spring-core` (Maven): affected `>=5.3.0, <5.3.14 || >=5.2.0, <5.2.19`; fixed in `5.3.14`, `5.2.19`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Spring Framework's spring-core package is vulnerable in versions 5.3.0 through 5.3.13, 5.2.0 through 5.2.18, and older unsupported versions. A user who can supply malicious input can cause additional log entries to be inserted into logs. The source gives few details beyond this. Upgrade to 5.3.14 or 5.2.19.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0092, the 60th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-6gf2-pvqw-37ph)

## Sources

- [GitHub Advisory Database: GHSA-6gf2-pvqw-37ph](https://github.com/advisories/GHSA-6gf2-pvqw-37ph)
- [OSV: GHSA-6gf2-pvqw-37ph](https://osv.dev/vulnerability/GHSA-6gf2-pvqw-37ph)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22060>
- <https://tanzu.vmware.com/security/cve-2021-22060>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-6gf2-pvqw-37ph>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-6gf2-pvqw-37ph/>. Everything for agents: <https://agentprime.io/llms.txt>.
