CVE-2023-38745: Medium severity pandoc vulnerability

Published Jul 25, 2023
·
Updated

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

Affected Software

2 affected components
Pandoc Pandoc<3.1.6
Debian Debian Linux=10.0

Event History

Jul 25, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
04:15 AM
Description
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this Pandoc vulnerability?

The vulnerability ID for this Pandoc vulnerability is CVE-2023-38745.

2

What is the severity level of CVE-2023-38745?

The severity level of CVE-2023-38745 is medium.

3

How can the vulnerability CVE-2023-38745 be exploited?

The vulnerability CVE-2023-38745 can be exploited by providing a crafted image element in the input when generating files via the --extract-media option or outputting to PDF format.

4

What can an attacker do if they exploit CVE-2023-38745?

If an attacker exploits CVE-2023-38745, they can create or overwrite arbitrary files, depending on the privileges of the user running the software.

5

Is there a fix available for CVE-2023-38745?

Yes, a fix is available for CVE-2023-38745. Users should update to Pandoc version 3.1.6 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203