VDB

CVE-2024-23337

CVE-2024-23337 PUBLISHED CVSS 4.3 MEDIUM

jq has signed integer overflow in jv.c:jvp_array_write

Reported by github_m · Published May 21, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
jqAlpine1.8.2-r0, 1.8.0-r0
jq-develAmazon Linux1.7.1-50.amzn2023, 1.5-1.amzn2.0.3
jqAmazon Linux1.5-1.amzn2.0.3
jqjqlang1.7.1

Risk scores

CVSS 3.1
4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
jqlangjq<= 1.7.1
alpinejq0, 0
amazon:2023jq-devel0
amazon:2jq-devel0
amazon:2jq0
jqlangjq0
amazon:2023jq0

Timeline

  • May 21, 2025 CVE Published
  • May 21, 2025 CVE Updated
  • May 22, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 21, 2025 Coalition ESS Score (6 in total, the first dated here)
  • Jan 17, 2026 Security Advisory (22 in total, the first dated here)
  • Apr 18, 2026 PoC Published
  • Oct 23, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-23337
vulnetix vdb fixes CVE-2024-23337

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23337/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›