CVE-2024-39684

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

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 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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-38186 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.
Ubuntu USN Ubuntu USN USN-8189-1 RapidJSON vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:tencent:rapidjson:*:*:*:*:*:*:*:*
Vendors & Products Tencent
Tencent rapidjson
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 5, 2024, 8:03 AM
Reserved
Jun 27, 2024, 6:44 PM
Status
Deferred
Published
Jul 9, 2024, 7:15 PM
Modified
Jun 17, 2026, 7:42 AM
Severity
Moderate
Public date
Jul 9, 2024, 12:00 AM