GHSA-qxqf-2mfx-x8jw

Suggest an improvement
Source
https://github.com/advisories/GHSA-qxqf-2mfx-x8jw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-qxqf-2mfx-x8jw/GHSA-qxqf-2mfx-x8jw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qxqf-2mfx-x8jw
Aliases
Published
2024-05-20T14:57:07Z
Modified
2024-05-20T15:12:19.843728Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
veraPDF has potential XSLT injection vulnerability when using policy files
Details

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

Database specific
{
    "nvd_published_at": "2024-03-28T14:15:13Z",
    "cwe_ids": [
        "CWE-91"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-20T14:57:07Z"
}
References

Affected packages

Maven / org.verapdf:core

Package

Name
org.verapdf:core
View open source insights on deps.dev
Purl
pkg:maven/org.verapdf/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.2

Affected versions

1.*

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.1-RC
1.14.2-RC
1.14.3-RC
1.14.6-RC
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

Maven / org.verapdf:core-jakarta

Package

Name
org.verapdf:core-jakarta
View open source insights on deps.dev
Purl
pkg:maven/org.verapdf/core-jakarta

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.2

Affected versions

1.*

1.24.1

Maven / org.verapdf:core-arlington

Package

Name
org.verapdf:core-arlington
View open source insights on deps.dev
Purl
pkg:maven/org.verapdf/core-arlington

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.25.127

Maven / org.verapdf:library-arlington

Package

Name
org.verapdf:library-arlington
View open source insights on deps.dev
Purl
pkg:maven/org.verapdf/library-arlington

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.25.127

Maven / org.verapdf:library

Package

Name
org.verapdf:library
View open source insights on deps.dev
Purl
pkg:maven/org.verapdf/library

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.2

Maven / org.verapdf:library-jakarta

Package

Name
org.verapdf:library-jakarta
View open source insights on deps.dev
Purl
pkg:maven/org.verapdf/library-jakarta

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.2