#VU33227 Buffer overflow in OpenJPEG - CVE-2017-14151
Published: September 5, 2017 / Updated: August 3, 2020
Vulnerability identifier: #VU33227
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-14151
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
OpenJPEG
OpenJPEG
Software vendor:
openjpeg.org
openjpeg.org
Description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
Remediation
Install update from vendor's website.
External links
- http://www.debian.org/security/2017/dsa-4013
- http://www.securityfocus.com/bid/100633
- https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/
- https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9
- https://github.com/uclouvain/openjpeg/issues/982