CVE-2024-53427 — Type Confusion in JQ
Severity
8.1HIGHNVD
OSV6.5
EPSS
0.2%
top 52.16%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 26
Latest updateJul 21
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).
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HExploitability: 1.4 | Impact: 6.0
🔴Vulnerability Details
4📋Vendor Advisories
4Microsoft▶
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 demonstrat↗2025-02-11
Debian▶
CVE-2024-53427: jq - decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that...↗2024