{"answers":{"affected":"18 open source packages ship an affected version, including org.verapdf:verapdf-library, org.verapdf:core and org.verapdf:core-arlington.","exploited":"There is no known exploitation of CVE-2024-28109 in the wild and no public exploit code.","fix":"Upgrade org.verapdf:verapdf-library to 1.24.2 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-28109 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-28109 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.verapdf:verapdf-library (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:verapdf-library (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:core (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:core (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:core-arlington (Maven): affected all versions; fixed in 1.25.127\n- org.verapdf:core-arlington (Maven): affected all versions; fixed in 1.25.127\n- org.verapdf:core-jakarta (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:core-jakarta (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:library (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:library (Maven): affected all versions; fixed in 1.24.2\n- org.verapdf:library-arlington (Maven): affected all versions; fixed in 1.25.127\n- org.verapdf:library-arlington (Maven): affected all versions; fixed in 1.25.127\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-28109/ (Markdown: https://insights.sbomify.com/CVE-2024-28109/index.md)","id":"CVE-2024-28109","markdown":"https://insights.sbomify.com/CVE-2024-28109/index.md","name":"CVE-2024-28109","record":{"aliases":["GHSA-qxqf-2mfx-x8jw"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"PDF validation library","requires_auth":"low_privilege","summary":"Attackers can achieve remote code execution by providing malicious custom schematron files during policy checks in the veraPDF library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Potential XSLT injection vulnerability when using policy files","id":"CVE-2024-28109","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":18,"n_references":5,"next":{"headline":"Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials","id":"CVE-2024-28110"},"packages":[{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:core","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:core","purl":"pkg:maven/org.verapdf/core","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.25.127"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:core-arlington","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.25.127"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:core-arlington","purl":"pkg:maven/org.verapdf/core-arlington","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:core-jakarta","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:core-jakarta","purl":"pkg:maven/org.verapdf/core-jakarta","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:library","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:library","purl":"pkg:maven/org.verapdf/library","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.25.127"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:library-arlington","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.25.127"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:library-arlington","purl":"pkg:maven/org.verapdf/library-arlington","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:library-jakarta","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:library-jakarta","purl":"pkg:maven/org.verapdf/library-jakarta","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:verapdf-library","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:verapdf-library","purl":"pkg:maven/org.verapdf/verapdf-library","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.25.127"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:verapdf-library-arlington","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.25.127"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:verapdf-library-arlington","purl":"pkg:maven/org.verapdf/verapdf-library-arlington","source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:verapdf-library-jakarta","purl":null,"source":"GHSA-qxqf-2mfx-x8jw"},{"ecosystem":"Maven","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"org.verapdf:verapdf-library-jakarta","purl":"pkg:maven/org.verapdf/verapdf-library-jakarta","source":"GHSA-qxqf-2mfx-x8jw"}],"prev":{"headline":"phpMyFAQ Stored HTML Injection at contentLink","id":"CVE-2024-28108"},"products":["veraPDF-library"],"published":"2024-03-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["veraPDF"]},"summary":"Attackers can achieve remote code execution by providing malicious custom schematron files during policy checks in the veraPDF library.","url":"https://insights.sbomify.com/CVE-2024-28109/"}