ALPINE-CVE-2024-53427

Source
https://security.alpinelinux.org/vuln/CVE-2024-53427
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-53427.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2024-53427
Upstream
Published
2025-02-26T16:15:16.237Z
Modified
2025-12-03T22:01:07.714484Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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).

References

Affected packages

Alpine:v3.22 / jq

Package

Name
jq
Purl
pkg:apk/alpine/jq?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.0-r0

Affected versions

1.*
1.4-r0
1.5-r0
1.5-r1
1.5-r2
1.5-r3
1.5-r4
1.5-r5
1.6_rc1-r0
1.6_rc1-r1
1.6_rc2-r1
1.6-r0
1.6-r1
1.6-r2
1.6-r3
1.7-r0
1.7-r1
1.7-r2
1.7.1-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-53427.json"

Alpine:v3.23 / jq

Package

Name
jq
Purl
pkg:apk/alpine/jq?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.0-r0

Affected versions

1.*
1.4-r0
1.5-r0
1.5-r1
1.5-r2
1.5-r3
1.5-r4
1.5-r5
1.6_rc1-r0
1.6_rc1-r1
1.6_rc2-r1
1.6-r0
1.6-r1
1.6-r2
1.6-r3
1.7-r0
1.7-r1
1.7-r2
1.7.1-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-53427.json"