CVE-2024-39684 Integer overflow in RapidJSON

Medium 6.8 Published Updated

An integer overflow in RapidJSON's number parsing allows attackers to escalate privileges by tricking users into opening a crafted JSON 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-2024-39684?

CVE-2024-39684 is a medium-severity vulnerability in Tencent RapidJSON, published on 9 Jul 2024. 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

Tencent RapidJSON is vulnerable to privilege escalation due to an integer overflow in the `GenericReader::ParseNumber()` function of `include/rapidjson/reader.h` when parsing JSON text from a stream. An attacker needs to send the victim a crafted file which needs to be opened; this triggers the integer overflow vulnerability (when the file is parsed), leading to elevation of privilege.

Weakness: CWE-190

Which versions are affected by CVE-2024-39684?

How do I fix CVE-2024-39684?

Upgrade to a fixed version.

Is CVE-2024-39684 being exploited?

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

Sources

Also known as AZL-43255, AZL-43297, AZL-43315, AZL-43618, AZL-45423, BELL-CVE-2024-39684 and 3 more.

Is CVE-2024-39684 in your software?

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

Check your SBOMs for free