MODERATE

CVE-2013-5823

Apache XML Security For Java vulnerable to Infinite Loop

Description

Affected versions of xmlsec are subject to a denial of service vulnerability. Should a user check the signature of a message larger than 512 MB, the method expandSize(int newPos) of class org.apache.xml.security.utils.UnsyncByteArrayOutputStream goes in an endless loop. A remote attacker could use this flaw to supply crafted XML that would lead to a denial of service.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.santuario » xmlsec
>= 1.4.0, < 1.4.8>= 1.5.0, < 1.5.3
1.4.8, 1.5.3

Blast radius

1affected artifacts
18affected versions
3,425dependent artifacts (est.)
183,630dependent versions

56% of the dependent artifacts (1,931) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,868
2 hops
10,702
3 hops
36,946
4 hops
43,714
5 hops
44,473
6 hops
44,927

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.