CVEfocus › CVE database › CVE-2024-39684

CVE-2024-39684Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function…

CVSS 6.8 MediumEPSS 0.4% (higher than 26% of CVEs)Published 2024-07-09Updated 2024-09-05Assigner: GitHub_M

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.

CWE-190

What to do

Fixed builds are available from Microsoft: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
9Fix pending
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rapidjsonFix pendingUBUNTU-CVE-2024-39684
Ubuntu 26.04rapidjsonNot affected
vulnerable_code_not_present
Ubuntu 25.10rapidjsonWill not fix
It is unclear what the cve is about, see upstream issue: https://github.com/Tencent/rapidjson/issues/2303 However, after inspecting the git history, the…
UBUNTU-CVE-2024-39684
Ubuntu 24.04rapidjsonFix pending1.1.0+dfsg2-7.2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-39684
Ubuntu 22.04rapidjsonFix pending1.1.0+dfsg2-7ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-39684
Ubuntu 20.04rapidjsonFix pending1.1.0+dfsg2-5ubuntu1+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-39684
Ubuntu 18.04rapidjsonFix pending1.1.0+dfsg2-3ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-39684
Ubuntu 16.04rapidjsonFix pending0.12~git20141031-3ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-39684
Debian 14rapidjsonFix pendingDEBIAN-CVE-2024-39684
Debian 13rapidjsonFix pendingDEBIAN-CVE-2024-39684
Debian 12rapidjsonFix pendingDEBIAN-CVE-2024-39684
Windows Server 2022windowsFixed10.0.20348.2582 KB5040437MSRC-2024-Jul
Windows Server 2019windowsFixed10.0.17763.6054 KB5040430MSRC-2024-Jul
Windows Server 2016windowsFixed10.0.14393.7159 KB5040434MSRC-2024-Jul
Windows 10 Version 1809 (x64)windowsFixed10.0.17763.6054 KB5040430MSRC-2024-Jul
Windows 10 Version 1809 (x86)windowsFixed10.0.17763.6054 KB5040430MSRC-2024-Jul
Windows 10 Version 1607 (x64)windowsFixed10.0.14393.7159 KB5040434MSRC-2024-Jul
Windows 10 Version 1607 (x86)windowsFixed10.0.14393.7159 KB5040434MSRC-2024-Jul
Windows Server, version 23H2windowsFixed10.0.25398.1009 KB5040438MSRC-2024-Jul
Windows 10 Version 21H2 (arm64)windowsFixed10.0.19044.4651 KB5040427MSRC-2024-Jul
Windows 10 Version 21H2 (x64)windowsFixed10.0.19044.4651 KB5040427MSRC-2024-Jul
Windows 10 Version 21H2 (x86)windowsFixed10.0.19044.4651 KB5040427MSRC-2024-Jul
Windows 10 Version 22H2 (arm64)windowsFixed10.0.19045.4651 KB5040427MSRC-2024-Jul
Windows 10 Version 22H2 (x64)windowsFixed10.0.19045.4651 KB5040427MSRC-2024-Jul
Windows 10 Version 22H2 (x86)windowsFixed10.0.19045.4651 KB5040427MSRC-2024-Jul
Windows 11 Version 21H2 (arm64)windowsFixed10.0.22000.3079 KB5040431MSRC-2024-Jul
Windows 11 Version 21H2 (x64)windowsFixed10.0.22000.3079 KB5040431MSRC-2024-Jul
Windows 11 Version 22H2 (arm64)windowsFixed10.0.22621.3880 KB5040442MSRC-2024-Jul
Windows 11 Version 22H2 (x64)windowsFixed10.0.22621.3880 KB5040442MSRC-2024-Jul
Windows 11 Version 23H2 (arm64)windowsFixed10.0.22631.3880 KB5040442MSRC-2024-Jul
Windows 11 Version 23H2 (x64)windowsFixed10.0.22631.3880 KB5040442MSRC-2024-Jul

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.