cve.bz

CVE-2024-23337 jqlang jq: Year 2038 problem, Y2K38, Y2038, Epochalypse

6.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (6.5) in jqlang jq. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-05-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-23337 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-23337?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-23337?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-23337 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jqlang:jqthrough 1.7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12jqno fix listedDEBIAN-CVE-2024-23337
Debian13, 14jq1.7.1-6DEBIAN-CVE-2024-23337
Ubuntu22.04:LTSjq1.6-2.1ubuntu3.1UBUNTU-CVE-2024-23337 USN-7657-1
Ubuntu24.04:LTSjq1.7.1-3ubuntu0.24.04.1UBUNTU-CVE-2024-23337 USN-7657-1
UbuntuPro:16.04:LTSjq1.5+dfsg-1ubuntu0.1+esm3UBUNTU-CVE-2024-23337 USN-7657-2
UbuntuPro:18.04:LTSjq1.5+dfsg-2ubuntu0.1~esm1UBUNTU-CVE-2024-23337 USN-7657-2
UbuntuPro:20.04:LTSjq1.6-1ubuntu0.20.04.1+esm1UBUNTU-CVE-2024-23337 USN-7657-2
Red Hatenterprise_linux:8::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-11.el8_10RHSA-2025:10618
Red Hatenterprise_linux:8::crbjq-devel, jq-debuginfo, jq-debugsource0:1.6-11.el8_10RHSA-2025:10618
Red Hatenterprise_linux:9::baseosjq, jq-debuginfo, jq-debugsource0:1.6-17.el9_6.2RHSA-2025:10585
Red Hatenterprise_linux:9::crbjq-devel, jq-debuginfo, jq-debugsource0:1.6-17.el9_6.2RHSA-2025:10585
Red Hatenterprise_linux:10.0jq, jq-devel, jq-debuginfo and 1 more0:1.7.1-8.el10_0.1RHSA-2025:12882
Red Hatrhel_aus:8.2::appstreamjq, jq-debuginfo, jq-debugsource0:1.5-12.el8_2.1RHSA-2025:10622
Red Hatrhel_aus:8.4::appstreamjq, jq-debuginfo, jq-debugsource0:1.5-12.el8_4.4RHSA-2025:10621
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_eus_long_life:8.6::appstream and 1 morejq, jq-debuginfo, jq-debugsource0:1.6-3.el8_6.1RHSA-2025:10620
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-6.el8_8.3RHSA-2025:10619
Red Hatrhel_e4s:9.0::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-12.el9_0.1RHSA-2025:10616
Red Hatrhel_e4s:9.2::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-15.el9_2.2RHSA-2025:10615
Red Hatrhel_eus:9.4::baseosjq, jq-debuginfo, jq-debugsource0:1.6-16.el9_4.1RHSA-2025:10613
1 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 morejq1.6-150000.3.6.1SUSE-SU-2025:02384-1
SUSELinux Micro 6.0jq1.6-4.1SUSE-SU-2025:20506-1
SUSELinux Micro 6.1jq1.7.1-slfo.1.1_2.1SUSE-SU-2025:20591-1
openSUSELeap 15.6jq1.6-150000.3.6.1SUSE-SU-2025:02384-1
openSUSETumbleweedjq1.8.1-1.1openSUSE-SU-2025:15233-1
AlmaLinux8jq, jq-devel1.6-11.el8_10ALSA-2025:10618
AlmaLinux9jq, jq-devel1.6-17.el9_6.2ALSA-2025:10585
Rocky Linux8jq0:1.6-11.el8_10RLSA-2025:10618
Rocky Linux9jq0:1.6-17.el9_6.2RLSA-2025:10585
Rocky Linux10jq0:1.7.1-8.el10_0.1RLSA-2025:12882
Alpinev3.21jq1.8.2-r0ALPINE-CVE-2024-23337
Alpinev3.22, v3.23, v3.24jq1.8.0-r0ALPINE-CVE-2024-23337
Azure Linux2jq1.6-3AZL-61967
Azure Linux3jq1.7.1-3AZL-61977
Alpaquita23jq1.6-r3BELL-CVE-2024-23337
Alpaquita25, streamjq1.8.0-r0BELL-CVE-2024-23337

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this flaw, an attacker needs to trick a user into processing a specially crafted JSON input, allowing an attacker to trigger an integer overflow and cause a crash in jq with no other security impact. Due to these reasons, this flaw has been rated with a Moderate severity.

Red Hat's mitigation

Do not process untrusted input with the jq command line JSON processor.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10jq-0:1.7.1-8.el10_0.1Fixed 2025-08-05RHSA-2025:12882
Red Hat Enterprise Linux 8jq-0:1.6-11.el8_10Fixed 2025-07-08RHSA-2025:10618
Red Hat Enterprise Linux 8.2 Advanced Update Supportjq-0:1.5-12.el8_2.1Fixed 2025-07-08RHSA-2025:10622
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportjq-0:1.5-12.el8_4.4Fixed 2025-07-08RHSA-2025:10621
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportjq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onjq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicejq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsjq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicejq-0:1.6-6.el8_8.3Fixed 2025-07-08RHSA-2025:10619
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsjq-0:1.6-6.el8_8.3Fixed 2025-07-08RHSA-2025:10619
Red Hat Enterprise Linux 9jq-0:1.6-17.el9_6.2Fixed 2025-07-08RHSA-2025:10585
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsjq-0:1.6-12.el9_0.1Fixed 2025-07-08RHSA-2025:10616
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsjq-0:1.6-15.el9_2.2Fixed 2025-07-08RHSA-2025:10615
Red Hat Enterprise Linux 9.4 Extended Update Supportjq-0:1.6-16.el9_4.1Fixed 2025-07-08RHSA-2025:10613
Red Hat Ansible Automation Platform 2automation-controllerFix deferred
Red Hat Ceph Storage 4jqFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-23337.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON