Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1xeHFmLTJtZngteDhqd84AA8Vj

veraPDF has 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

Permalink: https://github.com/advisories/GHSA-qxqf-2mfx-x8jw
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xeHFmLTJtZngteDhqd84AA8Vj
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 6 months ago
Updated: 6 months ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Identifiers: GHSA-qxqf-2mfx-x8jw, CVE-2024-28109
References: Repository: https://github.com/veraPDF/veraPDF-library
Blast Radius: 7.7

Affected Packages

maven:org.verapdf:library-jakarta
Affected Version Ranges: < 1.24.2
Fixed in: 1.24.2
maven:org.verapdf:library
Affected Version Ranges: < 1.24.2
Fixed in: 1.24.2
maven:org.verapdf:library-arlington
Affected Version Ranges: < 1.25.127
Fixed in: 1.25.127
maven:org.verapdf:core-arlington
Affected Version Ranges: < 1.25.127
Fixed in: 1.25.127
maven:org.verapdf:core-jakarta
Affected Version Ranges: < 1.24.2
Fixed in: 1.24.2
maven:org.verapdf:core
Dependent packages: 22
Dependent repositories: 9
Downloads:
Affected Version Ranges: < 1.24.2
Fixed in: 1.24.2
All affected versions: 1.4.1, 1.6.1, 1.6.2, 1.8.1, 1.10.1, 1.10.2, 1.10.3, 1.12.1, 1.14.100, 1.14.101, 1.14.102, 1.14.103, 1.14.105, 1.16.1, 1.18.2, 1.18.3, 1.18.11, 1.20.1, 1.20.2, 1.22.1, 1.22.2, 1.24.1
All unaffected versions: 1.24.2, 1.26.1