Koffei

CVE-2024-39684

🟠 Medium

RapidJSON · <= 1.1.0

CVSS (Koffei note)
6.8
CVSS (v3.1, CVE List)
6.8
EPSS (2026-11-18)
0.420%
36.97th percentile

Exploitation

No (SSVC: none)

Timeline

  1. 09/07/2024CVE record published (CVE List)

Risk

6.8 Medium (v3.1) — AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C, EPSS 0.42% (CWE-190 : Tencent RapidJSON is vulnerable to privilege escalation due to an integer overflow in the GenericReader::ParseNumber() function of `include/rapidjson/reader.h)

Fix

To verify (not stated in the CVE record) (advisory)

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.

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

CWE-190