VDB
Sign up
MEDIUM6.5

GHSA-xfrj-6vvc-3xm2

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

Quick fix

GHSA-xfrj-6vvc-3xm2 — org.apache.santuario:xmlsec: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.3.4</version> for org.apache.santuario:xmlsec

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.santuario:xmlsec
Introduced in: 2.3.0Fixed in: 2.3.4
Fix# pom.xml: bump <version>2.3.4</version> for org.apache.santuario:xmlsec
Maven/org.apache.santuario:xmlsec
Introduced in: 0Fixed in: 2.2.6
Fix# pom.xml: bump <version>2.2.6</version> for org.apache.santuario:xmlsec
Maven/org.apache.santuario:xmlsec
Introduced in: 3.0.0Fixed in: 3.0.3
Fix# pom.xml: bump <version>3.0.3</version> for org.apache.santuario:xmlsec

References