REDHAT-BUG-2493030: Buffer Overflow
jq is a command-line JSON processor. Prior to 1.8.2, on 32bit system, jvpstringappend has a chance of integer/multiple overflowing and then causing a massive buffer overrun. This vulnerability is fixed in 1.8.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.8.2
Event History
Frequently Asked Questions
Which systems are affected by this issue?
The issue affects jq versions prior to 1.8.2 when running on 32-bit systems. The provided information does not indicate that 64-bit systems are affected.
What condition is required to trigger the vulnerability?
An attacker would need to cause jq to reach the jvp_string_append code path with input or processing conditions that trigger an integer or multiplication overflow. The overflow can lead to a massive buffer overrun.
What is the remediation?
Upgrade jq to version 1.8.2, which fixes the vulnerability.