Описание
veraPDF CLI has potential XXE (XML External Entity Injection) vulnerability
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
Пакеты
org.verapdf:core
<= 1.26.1
1.26.2
org.verapdf:core-jakarta
<= 1.26.1
1.26.2
org.verapdf:core-arlington
<= 1.26.1
1.26.2
org.verapdf:verapdf-library
<= 1.26.1
1.26.2
org.verapdf:verapdf-library-jakarta
<= 1.26.1
1.26.2
org.verapdf:verapdf-library-arlington
<= 1.26.1
1.26.2
Связанные уязвимости
veraPDF is an open source PDF/A validation library. 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. 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. This issue has not yet been patched. Users are advised to be cautious of XSLT code until a patch is available.
Уязвимость функции mergeEnabledFeaturesFromPolicy() библиотеки проверки соответствия PDF-документов стандартам PDF/A veraPDF, позволяющая нарушителю проводить XXE-атаки