Name | CVE-2024-38517 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1083185 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
rapidjson (PTS) | stretch | 0.12~git20141031+dfsg-1 | vulnerable |
| buster | 1.1.0+dfsg2-5 | vulnerable |
| bullseye | 1.1.0+dfsg2-7 | vulnerable |
| bookworm | 1.1.0+dfsg2-7.1 | vulnerable |
| sid, trixie | 1.1.0+dfsg2-7.3 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rapidjson | source | stretch | (unfixed) | end-of-life | | |
rapidjson | source | buster | (unfixed) | end-of-life | | |
rapidjson | source | (unstable) | (unfixed) | | | 1083185 |
Notes
[bookworm] - rapidjson <no-dsa> (Minor issue)
[bullseye] - rapidjson <postponed> (Minor issue)
https://github.com/Tencent/rapidjson/pull/1261