CVE-2023-38745

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-38745
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-38745.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-38745
Related
Published
2023-07-25T04:15:10Z
Modified
2025-01-08T15:08:09.831379Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
Details

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).

References

Affected packages

Git / github.com/jgm/pandoc

Affected ranges

Type
GIT
Repo
https://github.com/jgm/pandoc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.10
0.16.1.2

1.*

1.0
1.0.0.1
1.10.0.1
1.10.0.2
1.10.0.3
1.10.0.4
1.10.0.5
1.10.1
1.11
1.11.1
1.12
1.12.0.1
1.12.0.2
1.12.0.3
1.12.1
1.12.2
1.12.2.1
1.12.2.2
1.12.2.3
1.12.3
1.12.3.1
1.12.3.2
1.12.3.3
1.12.4
1.12.4.1
1.12.4.2
1.13
1.13.0.1
1.13.1
1.13.2
1.14
1.14.0.1
1.14.0.2
1.14.0.3
1.14.0.4
1.14.1
1.15
1.15.0.1
1.15.0.2
1.15.0.3
1.15.0.4
1.15.0.5
1.15.0.6
1.15.1
1.15.1.1
1.15.2
1.15.2.1
1.16
1.16.0.1
1.16.0.2
1.17
1.17.0.1
1.17.0.2
1.17.0.3
1.17.02
1.17.1
1.17.2
1.18
1.19
1.19.1
1.19.2
1.2.1
1.3
1.5
1.5.0.1
1.5.1
1.5.1.1
1.6
1.8
1.8.0.1
1.8.0.3
1.8.1
1.8.1.1
1.8.1.2
1.8.2
1.8.2.1
1.9
1.9.0.2
1.9.0.3
1.9.0.5
1.9.1
1.9.1.1
1.9.1.2
1.9.3
1.9.4
1.9.4.1
1.9.4.2

2.*

2.0
2.0.0.1
2.0.1
2.0.1.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1
2.1.1
2.1.2
2.1.3
2.10
2.10.1
2.11
2.11.0.1
2.11.0.3
2.11.0.4
2.11.1
2.11.1.1
2.11.2
2.11.3
2.11.3.1
2.11.3.2
2.11.4
2.12
2.13
2.14
2.14.0.1
2.14.0.2
2.14.0.3
2.14.1
2.14.2
2.15
2.16
2.16.1
2.16.2
2.17
2.17.0.1
2.17.1
2.17.1.1
2.18
2.19
2.19.1
2.19.2
2.2
2.2.1
2.2.2
2.2.2.1
2.2.3
2.2.3.1
2.2.3.2
2.3
2.3.1
2.4
2.5
2.6
2.7
2.7.1
2.7.2
2.7.3
2.8
2.8.0.1
2.8.1
2.9
2.9.1
2.9.1.1
2.9.2
2.9.2.1

3.*

3.0
3.0.1
3.1
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5

Other

delete
list

pandoc-cli-0.*

pandoc-cli-0.1
pandoc-cli-0.1.1

pandoc-lua-engine-0.*

pandoc-lua-engine-0.1
pandoc-lua-engine-0.1.1
pandoc-lua-engine-0.2
pandoc-lua-engine-0.2.0.1
pandoc-lua-engine-0.2.1

pandoc-server-0.*

pandoc-server-0.1
pandoc-server-0.1.0.1