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).
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2023-07-25T00:00:00

Updated: 2024-08-02T17:54:38.423Z

Reserved: 2023-07-25T00:00:00

Link: CVE-2023-38745

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-07-25T04:15:10.633

Modified: 2024-03-31T03:15:07.507

Link: CVE-2023-38745

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-07-25T00:00:00Z

Links: CVE-2023-38745 - Bugzilla