Logo
vulnerabilityCVE-2024-53427
Name
CVE-2024-53427
Source
NVD ( link)Debian ( link)
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).
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
jq
Patched

Vulnerability Ratings#


8.1
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
master
1.8.1
Not Affected
openwrt
master
1.8.1-r2
Not Affected
openwrt
openwrt-25.12
1.8.1-r2
Not Affected
yocto
kirkstone
1.6+gitX
Patched
yocto
master
1.8.1
Not Affected
yocto
scarthgap
1.7.1
Patched

Resolved with patches#


jq (buildroot:2025.02.x)

#
Title
Author
Resolve
1
Reject NaN with payload while parsing JSON
=?utf-8?b?IkNoYW5nWmh1byBDaGVuICjpmbPmmIzlgKwpIg==?=
CVE-2024-53427

jq (yocto:kirkstone)

#
Title
Author
Resolve
1
fix: `jv_number_value` should cache the double value of
itchyny <itchyny@cybozu.co.jp>
CVE-2024-53427
2
Reject NaN with payload while parsing JSON
itchyny <itchyny@cybozu.co.jp>
CVE-2024-53427

jq (yocto:scarthgap)

#
Title
Author
Resolve
1
Reject NaN with payload while parsing JSON
itchyny <itchyny@cybozu.co.jp>
CVE-2024-53427