CVE-2024-39684 Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Overflow
MediumCVSS 6.8
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 3 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rapidjson(Debian 12) | = 1.1.0+dfsg2-7.1; = 1.1.0+dfsg2-7.2; = 1.1.0+dfsg2-7.3; = 1.1.0+dfsg2-7.4 +2 more | No fix listed | No fix yet |
| debian/rapidjson(Debian 13) | = 1.1.0+dfsg2-7.4; = 1.1.0+dfsg2-7.6; All versions | No fix listed | No fix yet |
| debian/rapidjson(Debian 14) | = 1.1.0+dfsg2-7.4; = 1.1.0+dfsg2-7.6; All versions | No fix listed | No fix yet |
| ubuntu/rapidjson(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| Tencent rapidjson | <= 1.1.0; = <= 1.1.0 | after 1.1.0 | Fixed |
| ubuntu/rapidjson(Ubuntu 22.04) | < 1.1.0+dfsg2-7ubuntu0.1~esm2 | 1.1.0+dfsg2-7ubuntu0.1~esm2 | Fixed |
| ubuntu/rapidjson(Ubuntu 24.04) | < 1.1.0+dfsg2-7.2ubuntu0.1~esm2 | 1.1.0+dfsg2-7.2ubuntu0.1~esm2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rapidjson(Debian:12) | All versions | No fix listed |
| debian/rapidjson(Debian:12) | = 1.1.0+dfsg2-7.1 | No fix listed |
| debian/rapidjson(Debian:12) | = 1.1.0+dfsg2-7.2 | No fix listed |
| debian/rapidjson(Debian:12) | = 1.1.0+dfsg2-7.3 | No fix listed |
| debian/rapidjson(Debian:12) | = 1.1.0+dfsg2-7.4 | No fix listed |
| debian/rapidjson(Debian:12) | = 1.1.0+dfsg2-7.6 | No fix listed |
| debian/rapidjson(Debian:13) | All versions | No fix listed |
| debian/rapidjson(Debian:13) | = 1.1.0+dfsg2-7.4 | No fix listed |
| debian/rapidjson(Debian:13) | = 1.1.0+dfsg2-7.6 | No fix listed |
| debian/rapidjson(Debian:14) | All versions | No fix listed |
| debian/rapidjson(Debian:14) | = 1.1.0+dfsg2-7.4 | No fix listed |
| debian/rapidjson(Debian:14) | = 1.1.0+dfsg2-7.6 | No fix listed |
| ubuntu/rapidjson(Ubuntu:22.04) | < 1.1.0+dfsg2-7ubuntu0.1~esm2 | 1.1.0+dfsg2-7ubuntu0.1~esm2 |
| Tencent rapidjson | = <= 1.1.0 | No fix listed |
| Tencent rapidjson | <= 1.1.0 | No fix listed |
| ubuntu/rapidjson(Ubuntu:24.04) | < 1.1.0+dfsg2-7.2ubuntu0.1~esm2 | 1.1.0+dfsg2-7.2ubuntu0.1~esm2 |
| ubuntu/rapidjson(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2024-39684 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8189-1 vendor-advisory
- www.cve.org
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-39684
- security.netapp.com
- bugs.debian.org issue-tracking