CVE-2024-38517 Integer overflow in RapidJSON
An attacker can achieve privilege escalation by tricking a user into opening a crafted JSON file that triggers an integer underflow in the RapidJSON parser.
- 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-38517?
CVE-2024-38517 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 underflow 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 underflow vulnerability (when the file is parsed), leading to elevation of privilege.
Weakness: CWE-191
Which versions are affected by CVE-2024-38517?
How do I fix CVE-2024-38517?
Upgrade to a fixed version.
Is CVE-2024-38517 being exploited?
There is no known exploitation of CVE-2024-38517 in the wild and no public exploit code.
Sources
Also known as AZL-43245, AZL-43300, AZL-43320, AZL-43543, AZL-45330, BELL-CVE-2024-38517 and 6 more.