CVE-2021-30471 Denial of service in podofo
An attacker can cause a stack overflow and crash applications using the PoDoFo library by triggering uncontrolled recursive calls in the PDF names tree processing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-30471?
CVE-2021-30471 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 26 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A flaw was found in PoDoFo 0.9.7. An uncontrolled recursive call in PdfNamesTree::AddToDictionary function in src/podofo/doc/PdfNamesTree.cpp can lead to a stack overflow.
Weakness: CWE-674
Which versions are affected by CVE-2021-30471?
It affects 3 products.
Products include Fedoraproject Fedora, Podofo Project Podofo, Redhat Enterprise Linux.
How do I fix CVE-2021-30471?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-30471 being exploited?
There is no known exploitation of CVE-2021-30471 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-30471, GHSA-5xm5-v2qv-9j5r, UBUNTU-CVE-2021-30471.