{"schema_version":"1.7.3","id":"GHSA-8gwc-x7mg-7p7p","published":"2022-05-14T00:02:32Z","modified":"2026-02-04T04:19:26.074551Z","aliases":["CVE-2013-5823"],"related":["CGA-g3hw-ffj9-29gh"],"summary":"Apache XML Security For Java vulnerable to Infinite Loop","details":"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":[{"package":{"name":"org.apache.santuario:xmlsec","ecosystem":"Maven","purl":"pkg:maven/org.apache.santuario/xmlsec"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.8"}]}],"versions":["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8gwc-x7mg-7p7p/GHSA-8gwc-x7mg-7p7p.json"}},{"package":{"name":"org.apache.santuario:xmlsec","ecosystem":"Maven","purl":"pkg:maven/org.apache.santuario/xmlsec"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.3"}]}],"versions":["1.5.0","1.5.1","1.5.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8gwc-x7mg-7p7p/GHSA-8gwc-x7mg-7p7p.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-5823"},{"type":"WEB","url":"https://github.com/apache/santuario-java/commit/55a48497dfbf3fe63a81e67c13160b3f41ebb1f3"},{"type":"WEB","url":"https://github.com/apache/santuario-java/commit/cea3c91106fb8be35e2f1bb3f1fe0cfddd0ec710"},{"type":"WEB","url":"https://github.com/apache/santuario-java/commit/f9a61f2df9473237aa71308c28113540b4063d33"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2014:0414"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-5823"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/SANTUARIO-334"},{"type":"WEB","url":"https://lists.opensuse.org/opensuse-updates/2013-11/msg00023.html"},{"type":"WEB","url":"https://marc.info/?l=bugtraq&m=138674031212883&w=2"},{"type":"WEB","url":"https://marc.info/?l=bugtraq&m=138674073720143&w=2"},{"type":"WEB","url":"https://security.gentoo.org/glsa/glsa-201406-32.xml"}],"database_specific":{"cwe_ids":[],"github_reviewed":true,"github_reviewed_at":"2022-11-08T14:57:18Z","nvd_published_at":"2013-10-16T17:55:00Z","severity":"MODERATE"}}