CVE-2024-53427
Last modified
CVE-2024-53427 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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).. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jqlang | Jq | <= 1.7.1 |
References
- https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92Third Party Advisory
- https://github.com/jqlang/jq/issues/3196Exploit, Issue Tracking, Vendor Advisory
- https://github.com/jqlang/jq/issues/3296Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-53427?
How severe is CVE-2024-53427?
How do I fix CVE-2024-53427?
Are you affected by CVE-2024-53427?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
