Bugzilla – Bug 1213622
VUL-0: CVE-2023-38745: pandoc: arbitrary file write via crafted image element in the input when generating files
Last modified: 2024-05-22 11:10:25 UTC
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). References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-38745 https://www.cve.org/CVERecord?id=CVE-2023-38745 https://github.com/jgm/pandoc/commit/eddedbfc14916aa06fc01ff04b38aeb30ae2e625 https://github.com/jgm/pandoc/compare/3.1.5...3.1.6
This is essentially the fact that the fix for CVE-2023-35936 (bsc#1213066) was incomplete.
The fix is on its way To Factory via https://build.opensuse.org/request/show/1112771. I'll propagate it to the other code streams from there once its been accepted.
done, closing