CVE-2024-28109 Potential XSLT injection vulnerability when using policy files

High 8.1 Published Updated

Attackers can achieve remote code execution by providing malicious custom schematron files during policy checks in the veraPDF library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-28109?

CVE-2024-28109 is a high-severity code injection vulnerability in veraPDF-library, published on 28 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-91

Which versions are affected by CVE-2024-28109?

18 open source packages ship an affected version, including org.verapdf:verapdf-library, org.verapdf:core and org.verapdf:core-arlington.

PackageAffectedFixed in
org.verapdf:verapdf-library MavenAll versions1.24.2
org.verapdf:verapdf-library MavenAll versions1.24.2
org.verapdf:core MavenAll versions1.24.2
org.verapdf:core MavenAll versions1.24.2
org.verapdf:core-arlington MavenAll versions1.25.127
org.verapdf:core-arlington MavenAll versions1.25.127
12 more packages
org.verapdf:core-jakarta MavenAll versions1.24.2
org.verapdf:core-jakarta MavenAll versions1.24.2
org.verapdf:library MavenAll versions1.24.2
org.verapdf:library MavenAll versions1.24.2
org.verapdf:library-arlington MavenAll versions1.25.127
org.verapdf:library-arlington MavenAll versions1.25.127
org.verapdf:library-jakarta MavenAll versions1.24.2
org.verapdf:library-jakarta MavenAll versions1.24.2
org.verapdf:verapdf-library-arlington MavenAll versions1.25.127
org.verapdf:verapdf-library-arlington MavenAll versions1.25.127
org.verapdf:verapdf-library-jakarta MavenAll versions1.24.2
org.verapdf:verapdf-library-jakarta MavenAll versions1.24.2

How do I fix CVE-2024-28109?

Upgrade org.verapdf:verapdf-library to 1.24.2 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-28109 being exploited?

There is no known exploitation of CVE-2024-28109 in the wild and no public exploit code.

Sources

Also known as GHSA-qxqf-2mfx-x8jw.

Is CVE-2024-28109 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free