Github: CVE-2024-38517 TenCent RapidJSON Elevation of Privilege Vulnerability
CVE-2024-38517 is fixed in 27 products on 2 platforms, first by KB5040434, released July 9, 2024. It is not reported as exploited. Patch Radar priority: High.
Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow 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 underflow vulnerability (when the file is parsed), leading to elevation of privilege.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Microsoft | |||
| Windows 10 Version 1607 for 32-bit Systems | 14393.7159 | KB5040434 | Jul 9, 2024 |
| Windows 10 Version 1607 for x64-based Systems | 14393.7159 | KB5040434 | Jul 9, 2024 |
| Windows 10 Version 1809 for 32-bit Systems | 17763.6054 | KB5040430 | Jul 9, 2024 |
| Windows 10 Version 1809 for x64-based Systems | 17763.6054 | KB5040430 | Jul 9, 2024 |
| Windows 10 Version 21H2 for 32-bit Systems | KB5040427 | Jul 9, 2024 | |
| Windows 10 Version 21H2 for ARM64-based Systems | KB5040427 | Jul 9, 2024 | |
| Windows 10 Version 21H2 for x64-based Systems | KB5040427 | Jul 9, 2024 | |
| Windows 10 Version 22H2 for 32-bit Systems | KB5040427 | Jul 9, 2024 | |
| Windows 10 Version 22H2 for ARM64-based Systems | KB5040427 | Jul 9, 2024 | |
| Windows 10 Version 22H2 for x64-based Systems | KB5040427 | Jul 9, 2024 | |
| Windows 11 Version 22H2 for ARM64-based Systems | KB5040442 | Jul 9, 2024 | |
| Windows 11 Version 22H2 for x64-based Systems | KB5040442 | Jul 9, 2024 | |
| Windows 11 Version 23H2 for ARM64-based Systems | KB5040442 | Jul 9, 2024 | |
| Windows 11 Version 23H2 for x64-based Systems | KB5040442 | Jul 9, 2024 | |
| Windows 11 version 21H2 for ARM64-based Systems | 22000.3079 | KB5040431 | Jul 9, 2024 |
| Windows 11 version 21H2 for x64-based Systems | 22000.3079 | KB5040431 | Jul 9, 2024 |
| Windows Server 2016 | 14393.7159 | KB5040434 | Jul 9, 2024 |
| Windows Server 2016 (Server Core installation) | 14393.7159 | KB5040434 | Jul 9, 2024 |
| Windows Server 2019 | 17763.6054 | KB5040430 | Jul 9, 2024 |
| Windows Server 2019 (Server Core installation) | 17763.6054 | KB5040430 | Jul 9, 2024 |
| Windows Server 2022 | 20348.2582 | KB5040437 | Jul 9, 2024 |
| Windows Server 2022 (Server Core installation) | 20348.2582 | KB5040437 | Jul 9, 2024 |
| Windows Server 2022, 23H2 Edition (Server Core installation) | 25398.1009 | KB5040438 | Jul 9, 2024 |
| Linux | |||
| rapidjson · Debian 13.5 (trixie) | 1.1.0+dfsg2-7.4 | DEBIAN-CVE-2024-38517 | Jul 9, 2024 |
| rapidjson · Debian 14 | 1.1.0+dfsg2-7.4 | DEBIAN-CVE-2024-38517 | Jul 9, 2024 |
| rapidjson-dev · Ubuntu 18.04.6 LTS (bionic) | 1.1.0+dfsg2-3ubuntu0.1~esm1 | rapidjson-dev 1.1.0+dfsg2-3ubuntu0.1~esm1 | Jul 9, 2024 |
| rapidjson-dev · Ubuntu 20.04 LTS (focal) | 1.1.0+dfsg2-5ubuntu1+esm1 | rapidjson-dev 1.1.0+dfsg2-5ubuntu1+esm1 | Jul 9, 2024 |
| rapidjson-dev · Ubuntu 22.04.1 LTS (jammy) | 1.1.0+dfsg2-7ubuntu0.1~esm1 | rapidjson-dev 1.1.0+dfsg2-7ubuntu0.1~esm1 | Jul 9, 2024 |
| rapidjson-dev · Ubuntu 24.04.5 LTS (noble) | 1.1.0+dfsg2-7.2ubuntu0.1~esm1 | rapidjson-dev 1.1.0+dfsg2-7.2ubuntu0.1~esm1 | Jul 9, 2024 |
| rapidjson-devel · amzn 2023 | 1.1.0-16.amzn2023.0.3 | ALAS2023-2024-684 | Aug 1, 2024 |
| rapidjson-doc · amzn 2023 | 1.1.0-16.amzn2023.0.3 | ALAS2023-2024-684 | Aug 1, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.