VDB
Sign up
MEDIUM

GHSA-vpr3-f594-mg5g

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

Quick fix

GHSA-vpr3-f594-mg5g — org.springframework:spring: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.5.7</version> for org.springframework:spring

Details

SpringSource Spring Framework 2.5.x before 2.5.6.SEC02, 2.5.7 before 2.5.7.SR01, and 3.0.x before 3.0.3 allows remote attackers to execute arbitrary code via an HTTP request containing `class.classLoader.URLs[0]=jar:` followed by a URL of a crafted .jar file.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring
Introduced in: 2.5.0Fixed in: 2.5.7
Fix# pom.xml: bump <version>2.5.7</version> for org.springframework:spring
Maven/org.springframework:spring
Introduced in: 3.0.0Fixed in: 3.0.3
Fix# pom.xml: bump <version>3.0.3</version> for org.springframework:spring

References