CVE-2024-39684

NameCVE-2024-39684
DescriptionTencent 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1083187

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rapidjson (PTS)stretch0.12~git20141031+dfsg-1vulnerable
buster1.1.0+dfsg2-5vulnerable
bullseye1.1.0+dfsg2-7vulnerable
bookworm1.1.0+dfsg2-7.1vulnerable
sid, trixie1.1.0+dfsg2-7.3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rapidjsonsourcestretch(unfixed)end-of-life
rapidjsonsourcebuster(unfixed)end-of-life
rapidjsonsource(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

Search for package or bug name: Reporting problems