CVE-2024-38517

Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Underflow

Published Jul 9, 2024 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-37387 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.
Ubuntu USN Ubuntu USN USN-7125-1 RapidJSON vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 5, 2024, 8:03 AM
Reserved
Jun 18, 2024, 4:37 PM
Status
Deferred
Published
Jul 9, 2024, 7:15 PM
Modified
Jun 17, 2026, 7:40 AM
Severity
Moderate
Public date
Jul 9, 2024, 12:00 AM