CVE-2021-30470 Denial of service in podofo

Medium 5.5 Published Updated

An attacker can cause a stack overflow and crash applications using the PoDoFo library by providing a malicious PDF file.

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-30470?

CVE-2021-30470 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 among PdfTokenizer::ReadArray(), PdfTokenizer::GetNextVariant() and PdfTokenizer::ReadDataType() functions can lead to a stack overflow.

Weakness: CWE-674

Which versions are affected by CVE-2021-30470?

It affects 3 products.

Products include Fedoraproject Fedora, Podofo Project Podofo, Redhat Enterprise Linux.

How do I fix CVE-2021-30470?

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-30470 being exploited?

There is no known exploitation of CVE-2021-30470 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-30470, GHSA-wx32-7cg6-9x4f, UBUNTU-CVE-2021-30470.

Is CVE-2021-30470 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free