NULL Pointer Dereference Affecting tencent.rapidjson package, versions [0,]


Severity

Recommended
0.0
medium
0
10

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

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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-TENCENTRAPIDJSON-1278134
  • published30 Jul 2021
  • disclosed30 Apr 2021
  • credit@mpumford, @WinCInn, @leeyiw

Introduced: 30 Apr 2021

CVE NOT AVAILABLE CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for tencent.rapidjson.

Overview

tencent.rapidjson is a fast JSON parser/generator for C++ with both SAX/DOM style API

Affected versions of this package are vulnerable to NULL Pointer Dereference as rapidjson::Stack can dereference NULL pointer. The root cause of the problem is that there are no checks for when allocators (Malloc, Realloc) return null.

CVSS Base Scores

version 3.1