CVEfocus › CVE database › CVE-2024-38517

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

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

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.

CWE-191

What to do

Fixed builds are available from Alpine, Debian, 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

27Fixed
6Fix pending
10Not 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.04rapidjsonNot affected
vulnerable_code_not_present
Ubuntu 25.10rapidjsonNot affected
vulnerable_code_not_present
Ubuntu 24.04rapidjsonFix pending1.1.0+dfsg2-7.2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-38517
Ubuntu 22.04rapidjsonFix pending1.1.0+dfsg2-7ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-38517
Ubuntu 20.04rapidjsonFix pending1.1.0+dfsg2-5ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-38517
Ubuntu 18.04rapidjsonFix pending1.1.0+dfsg2-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-38517
Ubuntu 16.04rapidjsonFix pending0.12~git20141031-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-38517
Debian 14rapidjsonFixed1.1.0+dfsg2-7.4DEBIAN-CVE-2024-38517
Debian 13rapidjsonFixed1.1.0+dfsg2-7.4DEBIAN-CVE-2024-38517
Debian 12rapidjsonFix pendingDEBIAN-CVE-2024-38517
Red Hat Enterprise Linux 10mysql8.4Not affected
Red Hat Enterprise Linux 10mysql8.4-commonNot affected
Red Hat Enterprise Linux 10mysql8.4-develNot affected
Red Hat Enterprise Linux 10mysql8.4-errmsgNot affected
Red Hat Enterprise Linux 10mysql8.4-libsNot affected
Red Hat Enterprise Linux 10mysql8.4-serverNot affected
Red Hat Enterprise Linux 10mysql8.4-testNot affected
Red Hat Enterprise Linux 10mysql8.4-test-dataNot affected
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
Alpine Linux 3.24rapidjsonFixed1.1.0-r7ALPINE-CVE-2024-38517
Alpine Linux 3.23rapidjsonFixed1.1.0-r7ALPINE-CVE-2024-38517
Alpine Linux 3.22rapidjsonFixed1.1.0-r7ALPINE-CVE-2024-38517
Alpine Linux 3.21rapidjsonFixed1.1.0-r7ALPINE-CVE-2024-38517
Alpine Linux 3.20rapidjsonFixed1.1.0-r6ALPINE-CVE-2024-38517

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.