SB2016052608 - Heap-based buffer overflow in jq (Alpine package)
Published: May 26, 2016
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Heap-based buffer overflow (CVE-ID: CVE-2015-8863)
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.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=e10ec9bc1b1ba649892df0d8f7c116a1172e51a3
- https://git.alpinelinux.org/aports/commit/?id=08fa87dac229e919eba54885a02dca0ae57c5f41
- https://git.alpinelinux.org/aports/commit/?id=37aee0002e98bcd41e35d010a63c7989589a10b5
- https://git.alpinelinux.org/aports/commit/?id=929b5faa3daa8490ac9e97720d28d0435c6936b7
- https://git.alpinelinux.org/aports/commit/?id=88a359be5d6bc6aa690308d941dc5c13c450d3ad
- https://git.alpinelinux.org/aports/commit/?id=92a0457407d9cd3d04c33cf3b6d2857857856057
- https://git.alpinelinux.org/aports/commit/?id=8c0cdc63bf2093255f77634dbd02d064db39e7f0
- https://git.alpinelinux.org/aports/commit/?id=03ef35bbeb0b2789a736c305a5a91141cc8ca1b1
- https://git.alpinelinux.org/aports/commit/?id=6d30e78f610975b527b795307549d9021853276d