Skip to content

← Public intelligence

Maven package

org.apache.santuario:xmlsec

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

8 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.5MavenPublished

    Apache Santuario - XML Security for Java are vulnerable to private key disclosure

    CVE-2023-44483 · GHSA-xfrj-6vvc-3xm2

    Affected
    • Maven org.apache.santuario:xmlsec >= 2.3.0, < 2.3.4; < 2.2.6; >= 3.0.0, < 3.0.3
    Fixed in
    2.3.43.0.32.2.6· Vendor fix available
    Issue
    All versions of Apache Santuario - XML Security for Java prior to 2.2.6, 2.3.4, and 3.0.3, when using the JSR 105 API, are vulnerable to an issue where a private key may be disclosed in log files when generating an XML Signature and logging with debug level is enabled. Users are recommended to upgrade to version 2.2.6, 2.3.4, or 3.0.3, which fixes this issue.

    Recommended action: Upgrade to 3.0.3, 2.3.4 or 2.2.6 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. UnratedMavenPublished

    Apache XML Security For Java vulnerable to Infinite Loop

    CVE-2013-5823 · GHSA-8gwc-x7mg-7p7p

    Affected
    • Maven org.apache.santuario:xmlsec >= 1.4.0, < 1.4.8; >= 1.5.0, < 1.5.3
    Fixed in
    1.4.81.5.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.5.3 or 1.4.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. UnratedMavenPublished

    Inefficient Algorithmic Complexity in Apache Santuario XML Security

    CVE-2013-2172 · GHSA-r237-w2w6-jq3p

    Affected
    • Maven org.apache.santuario:xmlsec >= 1.4.0, < 1.4.8; >= 1.5.0, < 1.5.5
    Fixed in
    1.4.81.5.5· Vendor fix available
    Issue
    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."

    Recommended action: Upgrade to 1.5.5 or 1.4.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 5.3MavenPublished

    Improper Input Validation in Apache Santuario XML Security

    CVE-2014-8152 · GHSA-w7cq-j9p9-hm3m

    Affected
    • Maven org.apache.santuario:xmlsec >= 2.0.0, < 2.0.3
    Fixed in
    2.0.3· Vendor fix available
    Issue
    Apache Santuario XML Security for Java 2.0.x before 2.0.3 allows remote attackers to bypass the streaming XML signature protection mechanism via a crafted XML document.

    Recommended action: Upgrade to 2.0.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. UnratedMavenPublished

    Improper Input Validation in Apache Santuario XML Security

    CVE-2013-4517 · GHSA-4p4w-6h54-g885

    Affected
    • Maven org.apache.santuario:xmlsec < 1.5.6
    Fixed in
    1.5.6· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.5.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. UnratedMavenPublished

    Apache XML Security For Java vulnerable to authentication bypass by HMAC truncation

    CVE-2009-0217 · GHSA-8hfm-837h-hjg5

    Affected
    • Maven org.apache.santuario:xmlsec >= 1.4.0, < 1.4.3
    Fixed in
    1.4.3· Vendor fix available
    Issue
    The design of the W3C XML Signature Syntax and Processing (XMLDsig) recommendation, as implemented in multiple products. The Apache XML Security (Java) is affected by the vulnerability published in US-Cert VU #466161. See: http://www.kb.cert.org/vuls/id/466161 for more information. This bug can allow an attacker to bypass authentication by inserting/modifying a small HMAC truncation length parameter in the XML Signature HMAC based SignatureMethod algorithms. An inexhaustive list of additional affected products includes: 1. the Oracle Security Developer Tools component in Oracle Application Server 10.1.2.3, 10.1.3.4, and 10.1.4.3IM; 2. the WebLogic Server component in BEA Product Suite 10.3, 10.0 MP1, 9.2 MP3, 9.1, 9.0, and 8.1 SP6; 3. Mono before 2.4.2.2; 4. XML Security Library before 1.2.12; 5. IBM WebSphere Application Server Versions 6.0 through 6.0.2.33, 6.1 through 6.1.0.23, and 7.0 through 7.0.0.1; 6. Sun JDK and JRE Update 14 and earlier; 7. Microsoft .NET Framework 3.0…

    Recommended action: Upgrade to 1.4.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. High, CVSS 7.5MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor in Apache Santuario

    CVE-2021-40690 · GHSA-j8wc-gxx9-82hx

    Affected
    • Maven org.apache.santuario:xmlsec >= 2.2.0, < 2.2.3; < 2.1.7
    Fixed in
    2.2.32.1.7· Vendor fix available
    Issue
    All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.

    Recommended action: Upgrade to 2.2.3 or 2.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. Medium, CVSS 5.5MavenPublished

    Improper input validation in Apache Santuario XML Security for Java

    CVE-2019-12400 · GHSA-4q98-wr72-h35w

    Affected
    • Maven org.apache.santuario:xmlsec >= 2.0.3, < 2.1.4
    Fixed in
    2.1.4· Vendor fix available
    Issue
    In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4.

    Recommended action: Upgrade to 2.1.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →