CVE-2024-39684Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rapidjson | Fix pending | UBUNTU-CVE-2024-39684 | |
| Ubuntu 26.04 | rapidjson | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | rapidjson | Will 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.04 | rapidjson | Fix pending | 1.1.0+dfsg2-7.2ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-39684 |
| Ubuntu 22.04 | rapidjson | Fix pending | 1.1.0+dfsg2-7ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-39684 |
| Ubuntu 20.04 | rapidjson | Fix pending | 1.1.0+dfsg2-5ubuntu1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-39684 |
| Ubuntu 18.04 | rapidjson | Fix pending | 1.1.0+dfsg2-3ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-39684 |
| Ubuntu 16.04 | rapidjson | Fix pending | 0.12~git20141031-3ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-39684 |
| Debian 14 | rapidjson | Fix pending | DEBIAN-CVE-2024-39684 | |
| Debian 13 | rapidjson | Fix pending | DEBIAN-CVE-2024-39684 | |
| Debian 12 | rapidjson | Fix pending | DEBIAN-CVE-2024-39684 | |
| Windows Server 2022 | windows | Fixed | 10.0.20348.2582 KB5040437 | MSRC-2024-Jul |
| Windows Server 2019 | windows | Fixed | 10.0.17763.6054 KB5040430 | MSRC-2024-Jul |
| Windows Server 2016 | windows | Fixed | 10.0.14393.7159 KB5040434 | MSRC-2024-Jul |
| Windows 10 Version 1809 (x64) | windows | Fixed | 10.0.17763.6054 KB5040430 | MSRC-2024-Jul |
| Windows 10 Version 1809 (x86) | windows | Fixed | 10.0.17763.6054 KB5040430 | MSRC-2024-Jul |
| Windows 10 Version 1607 (x64) | windows | Fixed | 10.0.14393.7159 KB5040434 | MSRC-2024-Jul |
| Windows 10 Version 1607 (x86) | windows | Fixed | 10.0.14393.7159 KB5040434 | MSRC-2024-Jul |
| Windows Server, version 23H2 | windows | Fixed | 10.0.25398.1009 KB5040438 | MSRC-2024-Jul |
| Windows 10 Version 21H2 (arm64) | windows | Fixed | 10.0.19044.4651 KB5040427 | MSRC-2024-Jul |
| Windows 10 Version 21H2 (x64) | windows | Fixed | 10.0.19044.4651 KB5040427 | MSRC-2024-Jul |
| Windows 10 Version 21H2 (x86) | windows | Fixed | 10.0.19044.4651 KB5040427 | MSRC-2024-Jul |
| Windows 10 Version 22H2 (arm64) | windows | Fixed | 10.0.19045.4651 KB5040427 | MSRC-2024-Jul |
| Windows 10 Version 22H2 (x64) | windows | Fixed | 10.0.19045.4651 KB5040427 | MSRC-2024-Jul |
| Windows 10 Version 22H2 (x86) | windows | Fixed | 10.0.19045.4651 KB5040427 | MSRC-2024-Jul |
| Windows 11 Version 21H2 (arm64) | windows | Fixed | 10.0.22000.3079 KB5040431 | MSRC-2024-Jul |
| Windows 11 Version 21H2 (x64) | windows | Fixed | 10.0.22000.3079 KB5040431 | MSRC-2024-Jul |
| Windows 11 Version 22H2 (arm64) | windows | Fixed | 10.0.22621.3880 KB5040442 | MSRC-2024-Jul |
| Windows 11 Version 22H2 (x64) | windows | Fixed | 10.0.22621.3880 KB5040442 | MSRC-2024-Jul |
| Windows 11 Version 23H2 (arm64) | windows | Fixed | 10.0.22631.3880 KB5040442 | MSRC-2024-Jul |
| Windows 11 Version 23H2 (x64) | windows | Fixed | 10.0.22631.3880 KB5040442 | MSRC-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.
- Tencent RapidJSON: affected: <= 1.1.0
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.