jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j | vendor advisory exploit |
https://github.com/jqlang/jq/pull/2804 | patch issue tracking |
https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b | patch |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771 | issue tracking mailing list |
http://www.openwall.com/lists/oss-security/2023/12/15/10 | patch mailing list third party advisory |