Out-of-Bounds Affecting stedolan/jq package, versions [0,1.6)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
10.08% (93rd 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-STEDOLANJQ-2367197
  • published26 Jan 2022
  • disclosed6 May 2016
  • creditUnknown

Introduced: 6 May 2016

CVE-2015-8863  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade stedolan/jq to version 1.6 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Off-by-one error in the tokenadd function in jv_parse.c in jq allows remote attackers to cause a denial of service (crash) via a long JSON-encoded number, which triggers a heap-based buffer overflow.

CVSS Base Scores

version 3.1