Vulnerability · Published Jul 25, 2023 · Assigned by mitre

CVE-2023-38745

Medium 6.3

In plain English

A medium-severity security flaw in the pandoc package (Ubuntu). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities).

Severity (CVSS NVD)6.3Medium
Exploit odds (30 days)0.3%top 83.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSpandocno fix listedUBUNTU-CVE-2023-38745
Ubuntu:24.04:LTSpandocno fix listedUBUNTU-CVE-2023-38745
Ubuntu:25.10pandocno fix listedUBUNTU-CVE-2023-38745
Ubuntu:26.04:LTSpandocno fix listedUBUNTU-CVE-2023-38745
Ubuntu:26.10pandocno fix listedUBUNTU-CVE-2023-38745

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References