Heap-based Buffer Overflow Affecting nlohmann/json package, versions [,2.0.10)


Severity

Recommended
0.0
high
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 IDSNYK-UNMANAGED-NLOHMANNJSON-6387367
  • published5 Mar 2024
  • disclosed1 Mar 2024
  • creditUnknown

Introduced: 1 Mar 2024

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

How to fix?

Upgrade nlohmann/json to version 2.0.10 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow during parsing of CBOR data, due to an unclosed UTF-8 string of undetermined length.

CVSS Scores

version 3.1