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.
Metrics
CVSS 2.0 5.0/10
AV:N/AC:L/Au:N/C:N/I:N/A:PWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://secunia.com/advisories/34892Vendor Advisory
- http://www.packetstormsecurity.org/hitb06/DAY_1_-_Marc_Schoenefeld_-_Pentesting_Java_J2EE.pdfExploit
- http://www.securityfocus.com/archive/1/502926/100/0/threaded
- http://www.springsource.com/securityadvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=497161Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/50083
- http://secunia.com/advisories/34892Vendor Advisory
- http://www.packetstormsecurity.org/hitb06/DAY_1_-_Marc_Schoenefeld_-_Pentesting_Java_J2EE.pdfExploit
- http://www.securityfocus.com/archive/1/502926/100/0/threaded
- http://www.springsource.com/securityadvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=497161Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/50083
Timeline
- Published
- Apr 27, 2009
- Last modified
- Jun 16, 2026
- NVD status
- Modified