Apache Santuario security advisories

Security information for Apache Santuario

Reporting

Do you want disclose a potential security issue for Apache Santuario? You can read more about the projects’ security policy on their security page, and email your report to the Apache Security Team.

Advisories

This section is experimental: it provides advisories since 2023 and may lag behind the official CVE publications. It may also lack details found on the project security page. If you have any feedback on how you would like this data to be provided, you are welcome to reach out on our public mailinglist or privately on security@apache.org

Private Key disclosure in debug-log output

CVE-2023-44483 [CVE] [CVE json] [OSV json]

Last updated: 2023-10-20T09:23:50.763Z

Affected

  • Apache Santuario from 2.2 before 2.2.6
  • Apache Santuario from 2.3 before 2.3.4
  • Apache Santuario from 3.0 before 3.0.3

Description

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.

References

Credits

  • Apache Santuario would like to thank Max Fichtelmann for reporting this issue. (finder)

Bypass of the secureValidation property

CVE-2021-40690 [CVE] [CVE json] [OSV json]

Last updated: 2021-09-19T17:20:51.491Z

Affected

  • Apache Santuario from XML Security for Java before 2.2.3,2.1.7

Description

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.

References

Credits

  • An Trinh, Calif.