Skip to content

Commit 3987d82

Browse files
darakianblackheaven
authored andcommitted
Add GHSA-xj5q-fv23-575g for pandoc
Hey all, was going through some advisories I've been tracking and noticed you were missing one that I had. Hope I followed the format correctly for adding an advisory
1 parent 65c6dae commit 3987d82

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
```toml
2+
[advisory]
3+
id = "HSEC-0000-0000"
4+
date = 2021-01-31
5+
keywords = ["file write"]
6+
aliases = ["CVE-2023-35936", "GHSA-xj5q-fv23-575g"]
7+
cwe = [20]
8+
9+
[[references]]
10+
type = "REPORT"
11+
url = "https://github.com/jgm/pandoc/security/advisories/GHSA-xj5q-fv23-575g"
12+
13+
[[affected]]
14+
package = "pandoc"
15+
cvss = "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:L"
16+
17+
[[affected.versions]]
18+
introduced = "1.13"
19+
fixed = "3.1.4"
20+
21+
```
22+
# Arbitrary file write is possible when using PDF output or --extract-media with untrusted input
23+
24+
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).
25+
26+
This vulnerability only affects systems that (a) pass untrusted user input to pandoc and (b) allow pandoc to be used to produce a PDF or with the --extract-media option.
27+
28+
The vulnerability is patched in pandoc 3.1.4.
29+

0 commit comments

Comments
 (0)