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).

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.4%top 63.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12rapidjsonno fix listedDEBIAN-CVE-2024-39684
Debian:13rapidjsonno fix listedDEBIAN-CVE-2024-39684
Debian:14rapidjsonno fix listedDEBIAN-CVE-2024-39684
Ubuntu:25.10rapidjsonno fix listedUBUNTU-CVE-2024-39684
Ubuntu:26.04:LTSrapidjsonno fix listedUBUNTU-CVE-2024-39684
Ubuntu:26.10rapidjsonno fix listedUBUNTU-CVE-2024-39684

Affected products (as reported)

VendorProductVersions
Tencent RapidJSON <= 1.1.0

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

References