CVE-2024-38517

Source
https://cve.org/CVERecord?id=CVE-2024-38517
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38517.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-38517
Downstream
Related
Published
2024-07-09T18:51:50.563Z
Modified
2026-04-09T10:17:55.719966Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C CVSS Calculator
Summary
Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Underflow
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38517.json",
    "cwe_ids": [
        "CWE-191"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/fmalita/rapidjson

Affected ranges

Type
GIT
Repo
https://github.com/fmalita/rapidjson
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/fmalita/rapidjson
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0-beta
v1.1.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38517.json"

Git / github.com/tencent/rapidjson

Affected ranges

Type
GIT
Repo
https://github.com/tencent/rapidjson
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.1.0"
        }
    ]
}

Affected versions

v1.*
v1.0-beta
v1.1.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38517.json"