CVE-2024-52800Potential XXE (XML External Entity Injection) vulnerability in veraPDF CLI
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.verapdf:core | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:core-arlington | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:core-jakarta | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:library | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:library-arlington | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:library-jakarta | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:verapdf-library | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:verapdf-library-arlington | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
| Maven library | org.verapdf:verapdf-library-jakarta | Fixed | 1.26.2 | GHSA-4cx5-89vm-833x |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- veraPDF-library: affected: <= 1.26.1
References
- https://github.com/veraPDF/veraPDF-library/security/advisories/GHSA-4cx5-89vm-833x
- https://github.com/veraPDF/veraPDF-library/issues/1488
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.