CVE-2013-4517 Improper Input Validation in Apache Santuario XML Security

Medium 4.3 Published Updated

Remote attackers can cause denial of service via memory consumption in Apache Santuario XML Security for Java by sending crafted Document Type Definitions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-4517?

CVE-2013-4517 is a medium-severity denial of service vulnerability in n/a, published on 11 Jan 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Santuario XML Security for Java before 1.5.6, when applying Transforms, allows remote attackers to cause a denial of service (memory consumption) via crafted Document Type Definitions (DTDs), related to signatures.

Weakness: CWE-399

Which versions are affected by CVE-2013-4517?

2 open source packages ship an affected version, including org.apache.santuario:xmlsec. It affects 1 product.

PackageAffectedFixed in
org.apache.santuario:xmlsec MavenAll versions1.5.6
org.apache.santuario:xmlsec MavenAll versions1.5.6
Linux distribution packages (5)
xml-security Red Hat:jboss_enterprise_application_platform:5::el4All versions0:1.5.6-3.ep5.el4
xml-security Red Hat:jboss_enterprise_application_platform:5::el5All versions0:1.5.6-3.ep5.el5
xml-security Red Hat:jboss_enterprise_application_platform:5::el6All versions0:1.5.6-3.el6
xml-security Red Hat:jboss_enterprise_web_platform:5::el5All versions0:1.5.6-3.ep5.el5
xml-security Red Hat:jboss_enterprise_web_platform:5::el6All versions0:1.5.6-3.el6

Products include Apache Santuario Xml Security for Java.

How do I fix CVE-2013-4517?

Upgrade org.apache.santuario:xmlsec to 1.5.6 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2013-4517 being exploited?

There is no known exploitation of CVE-2013-4517 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2013-4517, GHSA-4p4w-6h54-g885, MGASA-2014-0558, RHSA-2014:1726, RHSA-2014:1728.

Is CVE-2013-4517 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free