Out-of-bounds Write Affecting jq package, versions <1.7.1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.09% (41st 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-DEBIAN13-JQ-6117313
  • published16 Dec 2023
  • disclosed11 Dec 2023

Introduced: 11 Dec 2023

CVE-2023-49355  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:13 jq to version 1.7.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jq package and not the jq package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

decToString in decNumber/decNumber.c in jq 88f01a7 has a one-byte out-of-bounds write via the " []-1.2e-1111111111" input. NOTE: this is not the same as CVE-2023-50246. The CVE-2023-50246 71c2ab5 reference mentions -10E-1000010001, which is not in normalized scientific notation.

CVSS Scores

version 3.1