SB2023070449 - Path traversal in pandoc
Published: July 4, 2023 Updated: April 24, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: CVE-2023-35936)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a local user to create or overwrite arbitrary files on the system.
The vulnerability exists due to improper path restriction in media extraction handling when processing a specially crafted image element in untrusted input during PDF generation or when using the --extract-media option. A local user can supply crafted input with a percent-encoded path in a media URI to create or overwrite arbitrary files on the system.
User interaction is required to process untrusted input, and only configurations that generate PDF output or use the --extract-media option are affected.
Remediation
Install update from vendor's website.