Description
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.
Remediation
References
http://secunia.com/advisories/34892
http://www.packetstormsecurity.org/hitb06/DAY_1_-_Marc_Schoenefeld_-_Pentesting_Java_J2EE.pdf
http://www.securityfocus.com/archive/1/502926/100/0/threaded
http://www.springsource.com/securityadvisory
https://bugzilla.redhat.com/show_bug.cgi?id=497161
https://exchange.xforce.ibmcloud.com/vulnerabilities/50083
Related Vulnerabilities
CVE-2012-5885 Vulnerability in maven package org.apache.tomcat:catalina
CVE-2023-34035 Vulnerability in maven package org.springframework.security:spring-security-config
CVE-2016-3093 Vulnerability in maven package ognl:ognl
CVE-2011-2092 Vulnerability in maven package com.adobe.blazeds:flex-messaging-core
CVE-2020-8203 Vulnerability in maven package org.webjars.bower:lodash