GHSA-qfv9-64jg-mh7p: Pip/pypdf vulnerability
Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires calling findoutlineitem on a PdfWriter.
Patches
This has been fixed in pypdf==6.20.1.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #4188.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/pypdfto a version that resolves this vulnerability.Fixed in 6.20.1 - Upgrade
Upgrade
pypdfto a version that resolves this vulnerability.Fixed in 6.20.1 - Compensating control
If upgrading is not yet possible, apply the changes from PR #4188.