Vulnerability in Pandoc
CVE-2023-38745
Pandoc before 3.1.6 allows arbitrary file write: this can be triggered by providing a crafted image element in the input when generating files via the --extract-media option or outputting to PDF format. This allows an attacker to create or overwrite arbitrary files, depending on the privileges of the process running Pandoc. It only affects systems that pass untrusted user input to Pandoc and allow Pandoc to be used to produce a PDF or with the --extract-media option. NOTE: this issue exists because of an incomplete fix for CVE-2023-35936 (failure to properly account for double encoded path names).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 16.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Pandoc
- Debian Linux — versions 10.0
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/jgm/pandoc/commit/eddedbfc14916aa06fc01ff04b38aeb30ae2e625 (Patch)
- github.com/jgm/pandoc/compare/3.1.5...3.1.6 (Patch)
- [debian-lts-announce] 20230725 [SECURITY] [DLA 3507-1] pandoc security update (mailing-list, Mailing List)
- FEDORA-2024-7d83cbccb6 (vendor-advisory)
- FEDORA-2024-b458482d48 (vendor-advisory)
- FEDORA-2024-6ad6b9f417 (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…