Apache Santuario - XML Security for Java: Private Key Disclosure

org.apache.santuario:xmlsec Updated 02 Oct 2025

Summary

20/10/2023
Yes i
Moderate
6.5

CVE-2023-44483: Apache Santuario - XML Security for Java are vulnerable to private key disclosure. Affects org.apache.santuario:xmlsec across 3 version ranges.

< 2.2.6 >= 2.3.0, < 2.3.4 >= 3.0.0, < 3.0.3

Fixed in 2.2.6, 2.3.4 or 3.0.3, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2023-44483 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Santuario - XML Security for Java is a library that provides XML digital signature and encryption functionality. It is commonly used in Java applications to secure XML data. However, versions prior to 2.2.6, 2.3.4, and 3.0.3 are vulnerable to a specific issue related to private key disclosure.

Vulnerability Detail

The vulnerability in Apache Santuario - XML Security for Java arises when using the JSR 105 API. In certain scenarios, when generating an XML Signature and logging with debug level enabled, a private key may be inadvertently disclosed in log files. This can lead to unauthorized access to sensitive information and compromise the security of the application. It is important to note that this vulnerability affects all versions prior to 2.2.6, 2.3.4, and 3.0.3.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.2.6 2.2.6
  • >= 2.3.0, < 2.3.4 2.3.4
  • >= 3.0.0, < 3.0.3 3.0.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. Upgrading to the fixed versions is the recommended solution.

Conclusion

The vulnerability in Apache Santuario - XML Security for Java can lead to the disclosure of private keys in log files, compromising the security of the application. It is crucial to upgrade to the fixed versions (2.2.6, 2.3.4, or 3.0.3) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.santuario:xmlsec →

Share this vulnerability

FAQ

Apache Santuario - XML Security for Java is a library that provides XML digital signature and encryption functionality for Java applications.

The vulnerability allows for the disclosure of private keys in log files, which can lead to unauthorized access to sensitive information and compromise the security of the application.

All versions prior to 2.2.6, 2.3.4, and 3.0.3 are affected by this vulnerability.

To fix this vulnerability, it is recommended to upgrade to version 2.2.6, 2.3.4, or 3.0.3 of Apache Santuario - XML Security for Java.

No specific workaround is available for this vulnerability. Upgrading to the fixed versions is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.santuario:xmlsec.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.2.6 2.2.6
  • >= 2.3.0, < 2.3.4 2.3.4
  • >= 3.0.0, < 3.0.3 3.0.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback