Name | CVE-2024-39684 |
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. |
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 | 1083187 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
rapidjson (PTS) | 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 | (unstable) | (unfixed) | | | 1083187 |
Notes
[bookworm] - rapidjson <postponed> (Minor issue, revisit when fixed upstream)
[bullseye] - rapidjson <postponed> (Minor issue)
https://github.com/Tencent/rapidjson/issues/2289