Security readout for executives and security teams
Plain-English summary
Pandoc before 3.1.6 can be tricked into writing or overwriting files when processing malicious input in specific conversion modes. Business risk is highest for services that let users upload documents and convert them to PDF or extract embedded media automatically.
Executive priority
Prioritize remediation for internet-facing or customer-facing document conversion systems. Internal-only usage with trusted documents is lower urgency, but still should be patched because arbitrary file overwrite can become serious under elevated service privileges.
Technical view
The flaw is an arbitrary file write in Pandoc triggered by crafted image elements during PDF output or when using --extract-media. It only applies when untrusted input reaches those workflows. The CVE notes this was an incomplete fix for CVE-2023-35936 involving double-encoded path names.
Likely exposure
Exposure is likely limited to document conversion services, CI jobs, CMS workflows, or backend utilities that run Pandoc on attacker-controlled content with PDF generation or --extract-media enabled.
Exploitation context
The provided sources do not show CISA KEV listing or active exploitation. Exploitation depends on controlling Pandoc input and having a vulnerable conversion path that permits file creation or overwrite with the Pandoc process privileges.
Researcher notes
Focus assessment on trust boundaries and output modes, not just package presence. The key question is whether attacker-controlled input reaches Pandoc before 3.1.6 with PDF or media extraction enabled. The sources do not provide CVSS, CWE, or exploitation telemetry.
Mitigation direction
- Upgrade Pandoc to 3.1.6 or later.
- Apply Debian or Fedora security updates where using packaged Pandoc.
- Disable PDF conversion for untrusted input until patched.
- Disable --extract-media for untrusted input until patched.
- Run conversion workers with minimal filesystem privileges.
- Check vendor guidance for platform-specific package status.
Validation and detection
- Inventory Pandoc versions across servers, build systems, and containers.
- Identify workflows that pass user-controlled content to Pandoc.
- Confirm whether PDF output or --extract-media is enabled.
- Verify patched packages from Debian, Fedora, or upstream Pandoc.
- Review service accounts for unnecessary write permissions.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
File access behavior lookup
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2023-38745 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/jgm/pandoc/commit/eddedbfc14916aa06fc01ff04b38aeb30ae2e625CVE reference
- https://github.com/jgm/pandoc/compare/3.1.5...3.1.6CVE reference
- [debian-lts-announce] 20230725 [SECURITY] [DLA 3507-1] pandoc security updateCVE reference · mailing-list
- FEDORA-2024-7d83cbccb6CVE reference · vendor-advisory
- FEDORA-2024-b458482d48CVE reference · vendor-advisory
- FEDORA-2024-6ad6b9f417CVE reference · vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYP3FKDS3KAYMQUZVVL73IUI4CWSKLKP/CVE reference
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QI6RBP6ZKVC2OOCV6SU2FUHPMAXDDJFU/CVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
