Out-of-bounds Write Affecting json-smart package, versions <2.2-2ubuntu0.22.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.28% (83rd 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-UBUNTU2204-JSONSMART-2781754
  • published3 Jun 2021
  • disclosed1 Jun 2021

Introduced: 1 Jun 2021

CVE-2021-31684  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 json-smart to version 2.2-2ubuntu0.22.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream json-smart package and not the json-smart package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions 1.3 and 2.4 which causes a denial of service (DOS) via a crafted web request.

CVSS Base Scores

version 3.1