CVE Vulnerabilities

CVE-2023-38745

Published: Jul 25, 2023 | Modified: Mar 31, 2024
CVSS 3.x
6.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5 MODERATE
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
Ubuntu
MEDIUM

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

Name Vendor Start Version End Version
Pandoc Pandoc * 3.1.6 (excluding)
Pandoc Ubuntu bionic *
Pandoc Ubuntu lunar *
Pandoc Ubuntu mantic *
Pandoc Ubuntu trusty *
Pandoc Ubuntu xenial *

References