CVE-2021-21798 Use after free in Nitro Pro

High 8.8 Published Updated

A use-after-free vulnerability in Nitro Pro PDF allows attackers to execute arbitrary code by tricking users into opening a specially crafted document.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-21798?

CVE-2021-21798 is a high-severity use after free vulnerability in Nitro Pro, published on 15 Sep 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An exploitable return of stack variable address vulnerability exists in the JavaScript implementation of Nitro Pro PDF. A specially crafted document can cause a stack variable to go out of scope, resulting in the application dereferencing a stale pointer. This can lead to code execution under the context of the application. An attacker can convince a user to open a document to trigger the vulnerability.

Weakness: CWE-562

Which versions are affected by CVE-2021-21798?

It affects 1 product.

Products include Gonitro Nitro Pro.

How do I fix CVE-2021-21798?

No fix has been published for CVE-2021-21798 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-21798 being exploited?

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

Sources

Also known as GHSA-4vm8-m2w2-wpqm.

Is CVE-2021-21798 in your software?

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

Check your SBOMs for free