CVE-2023-38745
publishedpandoc: allows attacker to create or overwrite arbitrary files on the system (incomplete fix in upstream for CVE-2023-35936)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandocaarch64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandocppc64le | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandocs390x | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandocx86_64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-develaarch64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-develppc64le | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-devels390x | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-develx86_64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-docaarch64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-docppc64le | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-docs390x | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-docx86_64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-profaarch64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-profppc64le | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-profs390x | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghc-pandoc-profx86_64 | Advisory build | 3.1.3-3.1 | OPENSUSE-SU-2024:13246-1 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- https://github.com/jgm/pandoc/commit/eddedbfc14916aa06fc01ff04b38aeb30ae2e625
- https://github.com/jgm/pandoc/compare/3.1.5...3.1.6
- [debian-lts-announce] 20230725 [SECURITY] [DLA 3507-1] pandoc security update https://lists.debian.org/debian-lts-announce/2023/07/msg00029.html
- FEDORA-2024-b458482d48 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGRJHU2FTSGTHHRTNDF7STEKLKKA25JN/
- FEDORA-2024-6ad6b9f417 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYP3FKDS3KAYMQUZVVL73IUI4CWSKLKP/
- FEDORA-2024-7d83cbccb6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QI6RBP6ZKVC2OOCV6SU2FUHPMAXDDJFU/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LYP3FKDS3KAYMQUZVVL73IUI4CWSKLKP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QI6RBP6ZKVC2OOCV6SU2FUHPMAXDDJFU/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e3b7c080c7fdc8a90d46fcee1d5e1780b0731a729776920aaf6508bfadf40868
- Ingested
- 23 Sep 2026, 08:10:33 UTC
- Source record
- Official CVE record