# Improper Control of Generation of Code ('Code Injection') in Spring Framework

Advisory record · `GHSA-vpr3-f594-mg5g`

- **Identifiers:** `GHSA-vpr3-f594-mg5g` · `CVE-2010-1622`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 17 May 2022
- **Updated:** 3 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 May 2022, 03:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.springframework:spring` (Maven): affected `>=2.5.0, <2.5.7 || >=3.0.0, <3.0.3`; fixed in `2.5.7`, `3.0.3`

## Machine-written summary

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

> Spring Framework (org.springframework:spring) versions 2.5.0 up to 2.5.7 and 3.0.0 up to 3.0.3 are affected. A remote attacker can send a crafted HTTP request that causes the application to load a malicious jar file, allowing arbitrary code execution. Upgrade to 2.5.7 or 3.0.3.

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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.52, the 98th percentile, on 16 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-vpr3-f594-mg5g)

## Sources

- [GitHub Advisory Database: GHSA-vpr3-f594-mg5g](https://github.com/advisories/GHSA-vpr3-f594-mg5g)
- [OSV: GHSA-vpr3-f594-mg5g](https://osv.dev/vulnerability/GHSA-vpr3-f594-mg5g)
- <https://nvd.nist.gov/vuln/detail/CVE-2010-1622>
- <https://github.com/spring-projects/spring-framework/commit/3a5af35d37c79d0644d49b93f792a4c18fe8eb71>
- <https://access.redhat.com/errata/RHSA-2011:0175>
- <https://access.redhat.com/security/cve/CVE-2010-1622>
- <https://bugzilla.redhat.com/show_bug.cgi?id=606706>
- <https://github.com/spring-projects/spring-framework>
- <https://seclists.org/fulldisclosure/2010/Jun/456>
- <https://web.archive.org/web/20100623011648/http://www.springsource.com/security/cve-2010-1622>
- <https://web.archive.org/web/20161014113129/http://www.securitytracker.com/id/1033898>
- <https://web.archive.org/web/20200227210033/http://www.securityfocus.com/archive/1/511877>
- <https://web.archive.org/web/20200228060816/http://www.securityfocus.com/bid/40954>
- <http://geronimo.apache.org/2010/07/21/apache-geronimo-v216-released.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-vpr3-f594-mg5g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vpr3-f594-mg5g/>. Everything for agents: <https://agentprime.io/llms.txt>.
