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).
EPSS: 0.003 (16.8th percentile) — read the EPSS interpretation.
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.
Affected products
- Pandoc
- Debian Debian_linux — versions 10.0
- N/a — versions n/a
Public proof-of-concept exploits
References
- cve@mitre.org (Patch)
- cve@mitre.org (Patch)
- cve@mitre.org (mailing-list, Mailing List)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2023-38745?
- CVE-2023-38745 is a medium-severity vulnerability in Pandoc. CVSS score: 6.3/10. Published 2023-07-25.
- How severe is CVE-2023-38745?
- Medium severity. CVSS v3 base score is 6.3 out of 10.
- Is CVE-2023-38745 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.