VDB

CVE-2024-38517

CVE-2024-38517 PUBLISHED CVSS 6.8 MEDIUM

Reported by github_m · Published July 9, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rapidjsonAlpine1.1.0-r7, 1.1.0-r6
rapidjson-docAmazon Linux1.1.0-16.amzn2023.0.3
rapidjson-develAmazon Linux1.1.0-16.amzn2023.0.3

Risk scores

CVSS 3.1
6.8
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

Affected products

VendorProductVersions
TencentRapidJSON<= 1.1.0
alpinerapidjson0, 0
amazon:2023rapidjson-doc0
amazon:2023rapidjson-devel0
TencentRapidJSON0

Timeline

  • Jul 9, 2024 CVE Published
  • Jul 10, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Jan 8, 2026 Security Advisory (89 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38517
vulnetix vdb fixes CVE-2024-38517

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38517/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›