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)
| Artifact | Affected versions | Fixed 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
56% of the dependent artifacts (1,931) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework.security » spring-security-cas550 usages
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.core350 usages
- org.jasig.cas.client » cas-client-core253 usages
- org.apache.ws.security » wss4j247 usages
- org.gcube.applicationsupportlayer » aslcore240 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.application.authentication.framework238 usages
- org.opensaml » opensaml235 usages
- be.milieuinfo.security » acd-openam-client185 usages
- org.gcube.core » gcf175 usages
- org.gcube.portal » custom-portal-handler165 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.application.common158 usages
- be.vlaanderen.dov » dov-neo-setup158 usages
- be.milieuinfo.security » acd-openam-soap-client153 usages
- org.apache.cxf.services.sts » cxf-services-sts-core150 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2013-5823
- Webhttps://github.com/apache/santuario-java/commit/55a48497dfbf3fe63a81e67c13160b3f41ebb1f3
- Webhttps://github.com/apache/santuario-java/commit/cea3c91106fb8be35e2f1bb3f1fe0cfddd0ec710
- Webhttps://github.com/apache/santuario-java/commit/f9a61f2df9473237aa71308c28113540b4063d33
- Webhttps://access.redhat.com/errata/RHSA-2014:0414
- Webhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-5823
- Webhttps://issues.apache.org/jira/browse/SANTUARIO-334
- Webhttps://lists.opensuse.org/opensuse-updates/2013-11/msg00023.html
- Webhttps://marc.info/?l=bugtraq&m=138674031212883&w=2
- Webhttps://marc.info/?l=bugtraq&m=138674073720143&w=2
- Webhttps://security.gentoo.org/glsa/glsa-201406-32.xml
