Vulnerability · Published Jul 9, 2024 · Assigned by GitHub_M
CVE-2024-39684Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
Medium 6.8
In plain English
A medium-severity integer overflow in RapidJSON from Tencent. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rapidjson | no fix listed | DEBIAN-CVE-2024-39684 |
| Debian:13 | rapidjson | no fix listed | DEBIAN-CVE-2024-39684 |
| Debian:14 | rapidjson | no fix listed | DEBIAN-CVE-2024-39684 |
| Ubuntu:25.10 | rapidjson | no fix listed | UBUNTU-CVE-2024-39684 |
| Ubuntu:26.04:LTS | rapidjson | no fix listed | UBUNTU-CVE-2024-39684 |
| Ubuntu:26.10 | rapidjson | no fix listed | UBUNTU-CVE-2024-39684 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C