CVE-2017-14151
Published: 5 September 2017
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.
Notes
Author | Note |
---|---|
ccdm94 | It seems like the vulnerable code was introduced by commit e05d2901e, which was applied in versions larger than 2.0.0. Therefore, openjpeg packages are not affected by this issue. |
Priority
Status
Package | Release | Status |
---|---|---|
openjpeg Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
eoan |
Does not exist
|
|
trusty |
Not vulnerable
(code not present)
|
|
upstream |
Released
(2.3.0)
|
|
xenial |
Not vulnerable
(code not present)
|
|
zesty |
Does not exist
|
|
Patches: upstream: https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9 |
||
openjpeg2 Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(2.3.0-1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(2.3.0)
|
|
xenial |
Released
(2.1.2-1.1+deb9u2build0.1)
|
|
zesty |
Released
(2.1.2-1.1+deb9u2build0.17.04.1)
|
|
Patches: upstream: https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 8.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
- 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
- https://www.cve.org/CVERecord?id=CVE-2017-14151
- NVD
- Launchpad
- Debian