MODERATE

CVE-2009-1190

Spring Framework Inefficient Regular Expression Complexity

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-core
>= 1.1.0, < 3.0.0.RELEASE
3.0.0.RELEASE

Blast radius

1affected artifacts
72affected versions
7,949dependent artifacts (est.)
546,841dependent versions

47% of the dependent artifacts (3,751) still pull an affected version in their latest release.

DepthDependent versions
Direct
17,156
2 hops
150,181
3 hops
276,441
4 hops
81,636
5 hops
15,867
6 hops
5,560

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.