Heap-based buffer overflow - CVE-2015-8863

 

Heap-based buffer overflow - CVE-2015-8863

Published: May 6, 2016 / Updated: August 3, 2020


Vulnerability identifier: #VU33047
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-8863
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Off-by-one error in the tokenadd function in jv_parse.c in jq. A remote attacker can use a long JSON-encoded number to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gentoo Linux
Amazon Linux AMI
jq (Alpine package)
wireshark (Alpine package)
jq (Red Hat package)
Red Hat OpenStack

How to mitigate CVE-2015-8863

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

jq (Alpine package) - addressed in versions 1.4-r1, 1.5-r1, 1.5-r2, 1.5-r4, 1.5-r5
wireshark (Alpine package) - addressed in versions 2.2.14-r0, 2.4.6-r0
Red Hat OpenStack - update to 8
jq (Red Hat package) - update to 1.3-3.el7ost

External References

Related Security Bulletins