# CVE-2010-1622: Improper Control of Generation of Code ('Code Injection') in Spring Framework

Source: https://junglewise.ai/threats/cve-2010-1622-improper-control-of-generation-of-code-code-injection-in-spring  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2010-1622 · Severity: info · Published 2022-05-17

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

Technologies: [org.springframework:spring (Maven)](https://junglewise.ai/threats/technologies/org-springframework-spring). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2010-1622 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2010-1622 being exploited in the wild.

**How severe is CVE-2010-1622?** Informational severity, published 17 May 2022.

**Which products and versions are affected?** org.springframework:spring (Maven) ECOSYSTEM:introduced=2.5.0,fixed=2.5.7.

**Is there a fix for CVE-2010-1622?** Yes. org.springframework:spring (Maven): upgrade to 2.5.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2010-1622?** Check whether you run org.springframework:spring (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework:spring (Maven): upgrade to 2.5.7 or later

  ```sh
  # set org.springframework:spring to 2.5.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework:spring (Maven) ECOSYSTEM:introduced=2.5.0,fixed=2.5.7

## Identifiers

- CVE-2010-1622
- GHSA-vpr3-f594-mg5g

## Related threats

- [Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch](https://junglewise.ai/threats/cve-2023-20860-spring-framework-is-vulnerable-to-security-bypass-via)
- [Improper Output Neutralization for Logs in Spring Framework](https://junglewise.ai/threats/cve-2021-22096-improper-output-neutralization-for-logs-in-spring-framework)
