WaratekVRT Sign in

CVE-2013-2172 Apache Santuario XML Security for Java

Affected softwareApache Santuario XML Security for Java
Severity4.3 Medium CVSS 2.0
Fixed in1.4.8, 1.5.5
WeaknessCWE-310
Published20 Aug 2013
Updated16 Jun 2026

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."

CWE-407

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 13 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 5.9% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available patch rule
  • Review human ARMR file
  • Record active
Decided by An ARMR patch file on disk for this CVE
Finding CVE has an ARMR patch rule that provides mitigation

ARMR rule files

1 file

The rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.

CVE-2013-2172.armr patch rule, ARMR 2.6 added 2019-04-23 updated 2026-03-04

How to mitigate CVE-2013-2172

Upgrade Apache Santuario XML Security for Java to a release that fixes it: 1.4.8 or 1.5.5. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2013 ↗ CPU 2013-Q4 Oracle Fusion Middleware / Oracle GlassFish Server (2.1.1, 3.0.1, 3.1.2)
Oracle's note: CVE-2013-2172 is equivalent to CVE-2013-2461.

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware Oracle GlassFish Server 2.1.1, 3.0.1, 3.1.2 2.1.1 · 3.0.1 · 3.1.2

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.santuario:xmlsec 1.4.0 1.4.8 unbounded
org.apache.santuario:xmlsec 1.5.0 1.5.5 unbounded

Products and versions

2 products, 8 version entries
SourceVendorProductSchemeAffected versions
nvd apache santuario xml security for java generic 1.4.7 · 1.5.0 · 1.5.1 · 1.5.2 · 1.5.3 · 1.5.4
osv org.apache.santuario xmlsec generic ≥ 1.4.0 and < 1.4.8 · ≥ 1.5.0 and < 1.5.5

References

URLTags
https://github.com/apache/santuario-java/commit/25e0e11493b061749f778030036cb5c406b34590 WEB
https://github.com/apache/santuario-java/commit/8e8f8bf92a43608d7d5f9e357fae19244454a61f WEB
https://github.com/apache/santuario-java PACKAGE
https://lists.apache.org/thread.html/680e6938b6412e26d5446054fd31de2011d33af11786b989127d1cc3%40%3Ccommits.santuario.apache.org%3E WEB
https://lists.apache.org/thread.html/680e6938b6412e26d5446054fd31de2011d33af11786b989127d1cc3@%3Ccommits.santuario.apache.org%3E WEB
https://lists.apache.org/thread.html/r1c07a561426ec5579073046ad7f4207cdcef452bb3100abaf908e0cd%40%3Ccommits.santuario.apache.org%3E WEB
https://lists.apache.org/thread.html/r1c07a561426ec5579073046ad7f4207cdcef452bb3100abaf908e0cd@%3Ccommits.santuario.apache.org%3E WEB
https://web.archive.org/web/20160317145515/http://www.securityfocus.com/archive/1/534161/100/0/threaded WEB
https://web.archive.org/web/20200228060314/http://www.securityfocus.com/bid/60846 WEB
http://rhn.redhat.com/errata/RHSA-2013-1207.html WEB

Timeline

Published2013-08-20By the CVE Program.
ARMR remediation created2019-04-23Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-16NVD's own last-modified date for this record.