Skip to content

Potential XXE (XML External Entity Injection) vulnerability in veraPDF CLI

Low
carlwilson published GHSA-4cx5-89vm-833x Nov 29, 2024

Package

maven org.verapdf.core (Maven)

Affected versions

<= 1.26.1

Patched versions

1.26.2
maven org.verapdf.core-arlington (Maven)
<= 1.26.1
1.26.2
maven org.verapdf.core-jakarta (Maven)
<= 1.26.1
1.26.2
maven org.verapdf.library (Maven)
<= 1.26.1
1.26.2
maven org.verapdf.library-arlington (Maven)
<= 1.26.1
1.26.2
maven org.verapdf.library-jakarta (Maven)
<= 1.26.1
1.26.2

Description

Impact

Executing policy checks using custom schematron files via the CLI invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability.

Patches

We are currently working on a patch that will be released when ready.

Workarounds

This doesn't affect the standard validation and policy checks functionality, veraPDF's common use cases. Most veraPDF users don't insert any custom XSLT code into policy profiles, which are based on Schematron syntax rather than direct XSL transforms. For users who do, only load custom policy files from sources you trust.

References

Original issue: #1488

Severity

Low

CVE ID

CVE-2024-52800

Weaknesses

No CWEs