veraPDF CLI has potential XXE (XML External Entity Injection) vulnerability
Low severity
GitHub Reviewed
Published
Nov 29, 2024
in
veraPDF/veraPDF-library
•
Updated Dec 23, 2024
Description
Published by the National Vulnerability Database
Nov 29, 2024
Published to the GitHub Advisory Database
Dec 2, 2024
Reviewed
Dec 2, 2024
Last updated
Dec 23, 2024
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
References