CVE-2024-28109: Potential XSLT injection vulnerability when using policy files
Impact
Executing policy checks using custom schematron files invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability.
Patches
This has been patched and users should upgrade to veraPDF v1.24.2
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: <https://github.com/veraPDF/veraPDF-library/issues/1415>
Other sources
veraPDF-library is a PDF/A validation library. Executing policy checks using custom schematron files invokes an XSL transformation that could lead to a remote code execution (RCE) vulnerability. This vulnerability is fixed in 1.24.2.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-28109?
CVE-2024-28109 is classified as a remote code execution (RCE) vulnerability.
How do I fix CVE-2024-28109?
To fix CVE-2024-28109, upgrade to veraPDF version 1.24.2 or later.
What software is affected by CVE-2024-28109?
CVE-2024-28109 affects various versions of the veraPDF library and its components.
What can happen if CVE-2024-28109 is exploited?
Exploitation of CVE-2024-28109 may allow an attacker to execute arbitrary code on the affected system.
Is there a workaround for CVE-2024-28109 if I cannot upgrade?
The advisory does not provide specific workarounds other than applying the patch by upgrading the software.