MEDIUM
GHSA-wjjr-h4wh-w6vv
Spring Framework Inefficient Regular Expression Complexity
Quick fix
GHSA-wjjr-h4wh-w6vv — org.springframework:spring-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.0.0.RELEASE</version> for org.springframework:spring-coreDetails
Algorithmic complexity vulnerability in the java.util.regex.Pattern.compile method in Sun Java Development Kit (JDK) before 1.6, when used with spring.jar in SpringSource Spring Framework 1.1.0 through 2.5.6 and 3.0.0.M1 through 3.0.0.M2 and dm Server 1.0.0 through 1.0.2, allows remote attackers to cause a denial of service (CPU consumption) via serializable data with a long regex string containing multiple optional groups, a related issue to CVE-2004-2540.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.springframework:spring-core
Introduced in:
1.1.0Fixed in: 3.0.0.RELEASEFix
# pom.xml: bump <version>3.0.0.RELEASE</version> for org.springframework:spring-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2009-1190[ADVISORY]
- https://bugzilla.redhat.com/show_bug.cgi?id=497161[WEB]
- https://exchange.xforce.ibmcloud.com/vulnerabilities/50083[WEB]
- http://www.packetstormsecurity.org/hitb06/DAY_1_-_Marc_Schoenefeld_-_Pentesting_Java_J2EE.pdf[WEB]
- http://www.springsource.com/securityadvisory[WEB]