Integer Underflow Affecting Tencent/rapidjson package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-TENCENTRAPIDJSON-7444642
  • published12 Jul 2024
  • disclosed9 Jul 2024
  • creditUnknown

Introduced: 9 Jul 2024

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to 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 4.0
version 3.1