CVE-2021-21797 Use after free in Nitro Pro
A double-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-21797?
CVE-2021-21797 is a high-severity use after free vulnerability in Nitro Pro, published on 18 Oct 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 double-free vulnerability exists in the JavaScript implementation of Nitro Pro PDF. A specially crafted document can cause a reference to a timeout object to be stored in two different places. When closed, the document will result in the reference being released twice. This can lead to code execution under the context of the application. An attacker can convince a user to open a document to trigger this vulnerability.
Weakness: CWE-415
Which versions are affected by CVE-2021-21797?
It affects 1 product.
Products include Gonitro Nitro Pro.
How do I fix CVE-2021-21797?
No fix has been published for CVE-2021-21797 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-21797 being exploited?
There is no known exploitation of CVE-2021-21797 in the wild and no public exploit code.
Other vulnerabilities in Nitro Pro
Sources
Also known as GHSA-5676-7chm-gxvm.