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.
Source :
[email protected]
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.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-53427
.
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
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
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.