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

Configuration 1 (hide)

cpe:2.3:a:pandoc:pandoc:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

31 Mar 2024, 03:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYP3FKDS3KAYMQUZVVL73IUI4CWSKLKP/ -

30 Mar 2024, 02:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGRJHU2FTSGTHHRTNDF7STEKLKKA25JN/ -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QI6RBP6ZKVC2OOCV6SU2FUHPMAXDDJFU/ -

03 Aug 2023, 13:43

Type Values Removed Values Added
CWE NVD-CWE-noinfo
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.3
First Time Pandoc
Debian debian Linux
Pandoc pandoc
Debian
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:a:pandoc:pandoc:*:*:*:*:*:*:*:*
References (MISC) https://github.com/jgm/pandoc/commit/eddedbfc14916aa06fc01ff04b38aeb30ae2e625 - (MISC) https://github.com/jgm/pandoc/commit/eddedbfc14916aa06fc01ff04b38aeb30ae2e625 - Patch
References (MLIST) https://lists.debian.org/debian-lts-announce/2023/07/msg00029.html - (MLIST) https://lists.debian.org/debian-lts-announce/2023/07/msg00029.html - Mailing List
References (MISC) https://github.com/jgm/pandoc/compare/3.1.5...3.1.6 - (MISC) https://github.com/jgm/pandoc/compare/3.1.5...3.1.6 - Patch

25 Jul 2023, 21:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2023/07/msg00029.html -

25 Jul 2023, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-07-25 04:15

Updated : 2024-03-31 03:15


NVD link : CVE-2023-38745

Mitre link : CVE-2023-38745

CVE.ORG link : CVE-2023-38745


JSON object : View

Products Affected

pandoc

  • pandoc

debian

  • debian_linux