Apache Santuario - XML Security for Java are vulnerable to private key disclosure
Date: 2023-10
Affected: maven/org.apache.santuario:xmlsec, maven/org.apache.santuario:xmlsec, maven/org.apache.santuario:xmlsec
Attack vector: info-disclosure
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2023-44483
CWE: CWE-532
CVSS: 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):