CVE-2023-49355
Jqlang Jq vulnerability
decToString in decNumber/decNumber.c in jq 88f01a7 has a one-byte out-of-bounds write via the " []-1.2e-1111111111" input. NOTE: this is not the same as CVE-2023-50246. The CVE-2023-50246 71c2ab5 reference mentions -10E-1000010001, which is not in normalized scientific notation.
Affected products
Jq. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jqlang Jq runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jqlang/jq/tree/88f01a741c8d63c4d1b5bc3ef61520c6eb93edaa · Patch
- github.com/linzc21/bug-reports/blob/main/reports/jq/1.7-37-g88f01a7/heap-buffer-overflow/C · Exploit
- github.com/jqlang/jq/blob/88f01a741c8d63c4d1b5bc3ef61520c6eb93edaa/src/decNumber/decNumber
- nvd.nist.gov/vuln/detail/CVE-2023-49355
- cve.org/CVERecord?id=CVE-2023-49355
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.