CVE-2024-23337 json
jq has signed integer overflow in jv.c:jvp_array_write
published 2025-05-21 17 mo ago modified 2026-06-17 4 mo ago also EUVD-2024-20848
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
jq is a command-line JSON processor. In versions up to and including 1.7.1, an integer overflow arises when assigning value using an index of 2147483647, the signed integer limit. This causes a denial of service. Commit de21386681c0df0104a99d9d09db23a9b2a78b1e contains a patch for the issue.
Patch / fix
- jqlang jq 1.8.0
- jq Debian 14, Debian 13 1.7.1-6
debian advisories DEBIAN-CVE-2024-23337
- jq Ubuntu 22.04 LTS 1.6-2.1ubuntu3.1
- jq Ubuntu 24.04 LTS 1.7.1-3ubuntu0.24.04.1
- jq Ubuntu Pro 16.04 LTS 1.5+dfsg-1ubuntu0.1+esm3
- jq Ubuntu Pro 18.04 LTS 1.5+dfsg-2ubuntu0.1~esm1
- jq Ubuntu Pro 20.04 LTS 1.6-1ubuntu0.20.04.1+esm1
ubuntu advisories UBUNTU-CVE-2024-23337
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jq RHEL 10.0 1.7.1-8.el10_0.1
- jq RHEL 8 1.6-11.el8_10
- jq RHEL 9 1.6-17.el9_6.2
- jq RHEL 8.4 AUS 1.5-12.el8_4.4
- jq RHEL 8.2 AUS 1.5-12.el8_2.1
- jq RHEL 8.8 TUS, RHEL 8.8 E4S 1.6-6.el8_8.3
- jq RHEL 8.6 TUS, RHEL 8.6 EUS_LONG_LIFE, RHEL 8.6 E4S +1 more 1.6-3.el8_6.1
- jq RHEL 9.2 E4S 1.6-15.el9_2.2
red hat advisories RHSA-2025:12882RHSA-2025:10621RHSA-2025:10622RHSA-2025:10618RHSA-2025:10619RHSA-2025:10620
- jq Linux Micro 6.1 1.7.1-slfo.1.1_2.1
- jq Linux Micro 6.0 1.6-4.1
- jq SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, SLE Micro 5.5 +5 more 1.6-150000.3.6.1
suse advisories SUSE-SU-2025:20591-1SUSE-SU-2025:20506-1SUSE-SU-2025:02384-1
- jq openSUSE Tumbleweed 1.8.1-1.1
opensuse advisories openSUSE-SU-2025:15233-1
- jq AlmaLinux 9 1.6-17.el9_6.2
- jq AlmaLinux 8 1.6-11.el8_10
almalinux advisories ALSA-2025:10585ALSA-2025:10618
- jq Rocky Linux 9 1.6-17.el9_6.2
- jq Rocky Linux 10 1.7.1-8.el10_0.1
- jq Rocky Linux 8 1.6-11.el8_10
rocky linux advisories RLSA-2025:10585RLSA-2025:12882RLSA-2025:10618
- jq Alpine 3.24, Alpine 3.23, Alpine 3.22 1.8.0-r0
alpine advisories ALPINE-CVE-2024-23337
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jq CBL-Mariner 2.0 1.6-3
- jq Azure Linux 3.0 1.7.1-3
azure linux advisories AZL-61967AZL-61977
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/jqlang/jq@de21386 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-23337 updated cvss 4.3
jq: jq has signed integer overflow in jv.c:jvp_array_write
-
Red Hat Ansible Automation Platform 2 automation-controller Red Hat Ceph Storage 4 jq Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Do not process untrusted input with the jq command line JSON processor.”
-
Red Hat CodeReady Linux Builder EUS (v.9.4) jq-devel 1.6-16.el9_4.1, jq-debuginfo 1.6-16.el9_4.1, jq-debugsource 1.6-16.el9_4.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10613
-
Red Hat Enterprise Linux AppStream (v. 8) jq 1.6-11.el8_10fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10618
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) jq 1.5-12.el8_2.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10622
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) jq 1.5-12.el8_4.4fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10621
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) jq 1.6-3.el8_6.1 Red Hat Enterprise Linux AppStream E4S (v.8.6) jq 1.6-3.el8_6.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10620
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) jq 1.6-6.el8_8.3fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10619
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) jq 1.6-12.el9_0.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10616
show 9 moreshow fewer
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) jq 1.6-15.el9_2.2fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10615
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) jq 1.6-3.el8_6.1 Red Hat Enterprise Linux AppStream TUS (v.8.6) jq 1.6-3.el8_6.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10620
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) jq 1.6-6.el8_8.3fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10619
-
Red Hat Enterprise Linux BaseOS (v. 9) jq 1.6-17.el9_6.2fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10585
-
Red Hat Enterprise Linux BaseOS (v. 10) jq 1.7.1-8.el10_0.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:12882
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) jq 1.6-16.el9_4.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10613
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) jq-devel 1.6-17.el9_6.2, jq-debuginfo 1.6-17.el9_6.2, jq-debugsource 1.6-17.el9_6.2fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10585
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) jq-devel 1.7.1-8.el10_0.1, jq-debuginfo 1.7.1-8.el10_0.1, jq-debugsource 1.7.1-8.el10_0.1fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:12882
-
Red Hat Enterprise Linux CRB (v. 8) jq-devel 1.6-11.el8_10, jq-debuginfo 1.6-11.el8_10, jq-debugsource 1.6-11.el8_10fixed: vendor fix “Do not process untrusted input with the jq command line JSON processor.” RHSA-2025:10618
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jqlang/jq/security/advisories/GHSA-2q6r-344g-cx46 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/jqlang/jq/issues/3262 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- jqlang jq
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/jqlang/jq/commit/de21386681c0df0104a99d9d09db23a9b2a78b1e
patch
-
github.com
/jqlang/jq/security/advisories/GHSA-2q6r-344g-cx46
exploit, vendor-advisory
-
github.com
/jqlang/jq/issues/3262
exploit, issue-tracking
Sources
- CVE List CVE-2024-23337
- NVD CVE-2024-23337
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.