CVE-2024-38517 Affecting rapidjson package, versions <1.1.0+dfsg2-7.3ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU2410-RAPIDJSON-8191045
  • published26 Nov 2024
  • disclosed9 Jul 2024

Introduced: 9 Jul 2024

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

How to fix?

Upgrade Ubuntu:24.10 rapidjson to version 1.1.0+dfsg2-7.3ubuntu0.1 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 Ubuntu. See How to fix? for Ubuntu:24.10 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