CVE-2023-38745: Medium severity pandoc vulnerability
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).
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the vulnerability ID for this Pandoc vulnerability?
The vulnerability ID for this Pandoc vulnerability is CVE-2023-38745.
What is the severity level of CVE-2023-38745?
The severity level of CVE-2023-38745 is medium.
How can the vulnerability CVE-2023-38745 be exploited?
The vulnerability CVE-2023-38745 can be exploited by providing a crafted image element in the input when generating files via the --extract-media option or outputting to PDF format.
What can an attacker do if they exploit CVE-2023-38745?
If an attacker exploits CVE-2023-38745, they can create or overwrite arbitrary files, depending on the privileges of the user running the software.
Is there a fix available for CVE-2023-38745?
Yes, a fix is available for CVE-2023-38745. Users should update to Pandoc version 3.1.6 or later.