Bug 2379955 - CVE-2025-51591 pandoc: Server-Side Request Forgery in Pandoc [fedora-41]
Summary: CVE-2025-51591 pandoc: Server-Side Request Forgery in Pandoc [fedora-41]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pandoc
Version: 41
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["72b33082-8eec-48b6-b980-4...
Depends On:
Blocks: CVE-2025-51591
TreeView+ depends on / blocked
 
Reported: 2025-07-14 20:19 UTC by Jon Moroney
Modified: 2025-10-08 01:15 UTC (History)
3 users (show)

Fixed In Version: pandoc-3.1.11.1-34.fc41
Clone Of:
Environment:
Last Closed: 2025-10-08 01:15:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Moroney 2025-07-14 20:19:09 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams

Comment 1 Jens Petersen 2025-08-04 09:22:07 UTC
I think the only thing I can do here is to patch the manpage to explain the potential threat.

The upstream commit related to this just updated the manual
to update about the potential threat of iframe via pdf:
https://github.com/jgm/pandoc/commit/67edf7ce7cd3563a180ae44bd122b012e22364f8

The text appears in https://pandoc.org/MANUAL.html#a-note-on-security

Comment 2 Jens Petersen 2025-08-18 07:30:15 UTC
There is no ("upstream") fix for this, as in it can't be fixed.
Upstream merely updated the documentation to mention this specific weakness.

Running pandoc on raw untrusted input is not safe.

The best workaround is to enable server mode which has been done in Rawhide recently.
In principle that could be backported to F42 and earlier.

Comment 3 Fedora Update System 2025-09-29 09:35:44 UTC
FEDORA-2025-ef1d49c67b (pandoc-3.1.11.1-34.fc41 and pandoc-cli-3.1.11.1-34.1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-ef1d49c67b

Comment 4 Fedora Update System 2025-09-30 02:42:17 UTC
FEDORA-2025-ef1d49c67b has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-ef1d49c67b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ef1d49c67b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-10-08 01:15:49 UTC
FEDORA-2025-ef1d49c67b (pandoc-3.1.11.1-34.fc41 and pandoc-cli-3.1.11.1-34.1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.