8.1
HIGH
CVE-2024-53427
Apache Jq Heap Overflow Vulnerability
Description

decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).

INFO

Published Date :

Feb. 26, 2025, 4:15 p.m.

Last Modified :

March 28, 2025, 5:15 p.m.

Remotely Exploitable :

No

Impact Score :

6.0

Exploitability Score :

1.4
Public PoC/Exploit Available at Github

CVE-2024-53427 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-53427 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Jqlang jq

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

github runner

Dockerfile Shell

Updated: 5 days, 6 hours ago
0 stars 0 fork 0 watcher
Born at : March 4, 2025, 9:38 p.m. This repo has been linked 39 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-53427 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-53427 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Mar. 28, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/jqlang/jq/issues/3296
    Added Reference https://github.com/jqlang/jq/security/advisories/GHSA-x6c3-qv5r-7q22
  • CVE Modified by [email protected]

    Mar. 02, 2025

    Action Type Old Value New Value
    Changed Description jq v1.7.1 contains a stack-buffer-overflow in the decNumberCopy function within decNumber.c. decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).
    Added CVSS V3.1 AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
    Added CWE CWE-843
    Added Reference https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92
    Added Reference https://github.com/jqlang/jq/blob/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297/src/decNumber/decNumber.c#L3375
  • New CVE Received by [email protected]

    Feb. 26, 2025

    Action Type Old Value New Value
    Added Description jq v1.7.1 contains a stack-buffer-overflow in the decNumberCopy function within decNumber.c.
    Added Reference https://github.com/jqlang/jq/issues/3196
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-53427 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-53427 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 22, 2025 5:33