CVE-2021-3508 Denial of service in PDFResurrect

Medium 5.5 Published Updated

An attacker can cause a denial of service via an infinite loop in PDFResurrect by providing a crafted 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-3508?

CVE-2021-3508 is a medium-severity denial of service vulnerability in PDFResurrect, published on 28 Apr 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 PDFResurrect in version 0.22b. There is an infinite loop in get_xref_linear_skipped() in pdf.c via a crafted PDF file.

Weakness: CWE-835

Which versions are affected by CVE-2021-3508?

It affects 1 product.

Products include Pdfresurrect Project Pdfresurrect.

How do I fix CVE-2021-3508?

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

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

Sources

Also known as DEBIAN-CVE-2021-3508, GHSA-wx33-xp59-j4ch, UBUNTU-CVE-2021-3508.

Is CVE-2021-3508 in your software?

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

Check your SBOMs for free