CVE-2024-38517 Affecting rapidjson package, versions <1.1.0-r6


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-RAPIDJSON-8515927
  • published16 Dec 2024
  • disclosed9 Jul 2024

Introduced: 9 Jul 2024

CVE-2024-38517  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 rapidjson to version 1.1.0-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rapidjson package and not the rapidjson package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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.

CVSS Scores

version 3.1