Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-35936

6.1 · MEDIUM
Published Jul 5, 2023 pandoc CWE-20 EPSS 0.37% (30th pctl)

Overview

CVE-2023-35936 is a medium-severity vulnerability affecting pandoc pandoc. It was published on July 5, 2023 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. Starting in version 1.13 and prior to version 3.1.4, Pandoc is susceptible to an arbitrary file write vulnerability, which can be triggered by providing a specially crafted image element in the input when generating files using the `--extract-media` option or outputting to PDF format. This vulnerability allows an attacker to create or overwrite arbitrary files on the system ,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.

The fix is to unescape the percent-encoding prior to checking that the resource is not above the working directory, and prior to extracting the extension. Some code for checking that the path is below the working directory was flawed in a similar way and has also been fixed. Note that t

Remediation

Check the references section for vendor advisories and patches from pandoc. Update pandoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
pandoc pandoc >= 1.13, < 3.1.4 Affected

Frequently Asked Questions

What is CVE-2023-35936?

CVE-2023-35936 is a medium-severity vulnerability affecting pandoc pandoc. It was published on July 5, 2023 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2023-35936?

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-35936?

Check the references section for vendor advisories and patches from pandoc. Update pandoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-35936?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-35936 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.