Bug 2379955
| Summary: | CVE-2025-51591 pandoc: Server-Side Request Forgery in Pandoc [fedora-41] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jon Moroney <jmoroney> |
| Component: | pandoc | Assignee: | Jens Petersen <petersen> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 41 | CC: | castedo, michel, petersen |
| Target Milestone: | --- | Keywords: | Security, SecurityTracking |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | {"flaws": ["72b33082-8eec-48b6-b980-41f8289080d9"]} | ||
| Fixed In Version: | pandoc-3.1.11.1-34.fc41 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-10-08 01:15:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2379543 | ||
|
Description
Jon Moroney
2025-07-14 20:19:09 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 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.
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 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. 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. |