NULL pointer dereference in OpenJPEG - CVE-2018-18088

 

NULL pointer dereference in OpenJPEG - CVE-2018-18088

Published: August 30, 2019 / Updated: December 29, 2020


Vulnerability identifier: #VU20492
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-18088
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dreference error in the imagetopnm function of jp2/convert. A remote attacker can perform a denial of service (DoS) attack.


Affected software

OpenJPEG
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Fedora
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
openjpeg (Alpine package)
openjpeg2 (Ubuntu package)
libopenjp2-7
libopenjp2-7-debuginfo
openjpeg2-debugsource
openjpeg2-debuginfo
mingw-openjpeg2
openjpeg2
openjpeg2-devel
libopenjp2-7-32bit-debuginfo
libopenjp2-7-32bit

How to mitigate CVE-2018-18088

Install update from vendor's website.

OpenJPEG - update to 2.3.1
openjpeg (Alpine package) - update to 2.3.0-r1
openjpeg2 (Ubuntu package) - update to 2.3.0-2build0.18.04.1
libopenjp2-7 - addressed in versions 2.1.0-4.24.1, 2.3.0-150000.3.21.1
libopenjp2-7-debuginfo - addressed in versions 2.1.0-4.24.1, 2.3.0-150000.3.21.1
openjpeg2-debugsource - addressed in versions 2.1.0-4.24.1, 2.3.0-150000.3.21.1
openjpeg2-debuginfo - addressed in versions 2.1.0-4.24.1, 2.3.0-150000.3.21.1
mingw-openjpeg2 - addressed in versions 2.3.0-6.fc28, 2.3.0-6.fc29
openjpeg2 - addressed in versions 2.3.0-10.fc28, 2.3.0-10.fc29, 2.3.1-1.el7
openjpeg2 - update to 2.3.0-150000.3.21.1
openjpeg2-devel - update to 2.3.0-150000.3.21.1
libopenjp2-7-32bit-debuginfo - update to 2.3.0-150000.3.21.1
libopenjp2-7-32bit - update to 2.3.0-150000.3.21.1

External References

Related Security Bulletins