MEDIUM
GHSA-8gwc-x7mg-7p7p
Apache XML Security For Java vulnerable to Infinite Loop
Quick fix
GHSA-8gwc-x7mg-7p7p — org.apache.santuario:xmlsec: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.4.8</version> for org.apache.santuario:xmlsecDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.santuario:xmlsec
Introduced in:
1.4.0Fixed in: 1.4.8Fix
# pom.xml: bump <version>1.4.8</version> for org.apache.santuario:xmlsecMaven/org.apache.santuario:xmlsec
Introduced in:
1.5.0Fixed in: 1.5.3Fix
# pom.xml: bump <version>1.5.3</version> for org.apache.santuario:xmlsecReferences
- https://nvd.nist.gov/vuln/detail/CVE-2013-5823[ADVISORY]
- https://github.com/apache/santuario-java/commit/55a48497dfbf3fe63a81e67c13160b3f41ebb1f3[WEB]
- https://github.com/apache/santuario-java/commit/cea3c91106fb8be35e2f1bb3f1fe0cfddd0ec710[WEB]
- https://github.com/apache/santuario-java/commit/f9a61f2df9473237aa71308c28113540b4063d33[WEB]
- https://access.redhat.com/errata/RHSA-2014:0414[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-5823[WEB]
- https://issues.apache.org/jira/browse/SANTUARIO-334[WEB]
- https://lists.opensuse.org/opensuse-updates/2013-11/msg00023.html[WEB]
- https://marc.info/?l=bugtraq&m=138674031212883&w=2[WEB]
- https://marc.info/?l=bugtraq&m=138674073720143&w=2[WEB]
- https://security.gentoo.org/glsa/glsa-201406-32.xml[WEB]