Infinite loop in libjpeg - CVE-2018-11813

 

Infinite loop in libjpeg - CVE-2018-11813

Published: January 13, 2020


Vulnerability identifier: #VU24199
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-11813
CWE-ID: CWE-835
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 infinite loop in read_pixel() function in rdtarga.c when processing EOF (end-of-line) characters. A remote attacker can use a specially crafted image to consume all available system resources and cause denial of service conditions.


Affected software

libjpeg
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Ubuntu
Opensuse
Fedora
Autodesk Infraworks
libjpeg-turbo (Alpine package)
libjpeg-turbo-test (Ubuntu package)
libturbojpeg (Ubuntu package)
libjpeg-turbo-progs (Ubuntu package)
libjpeg-turbo8 (Ubuntu package)
libjpeg62 (Ubuntu package)
libjpeg-progs (Ubuntu package)
libjpeg9 (Ubuntu package)
libjpeg-turbo
Dynamic System Analysis (DSA) Preboot
Tanzu Greenplum for Kubernetes
Data Computing Appliance (DCA)
Flex System Chassis Management Module (CMM)
VMware Tanzu Operations Manager

How to mitigate CVE-2018-11813

Install updates from vendor's website.

libjpeg - update to 9d
Autodesk Infraworks - addressed in versions 2021.2 Hotfix 9, 2023.1 Hotfix 1
libjpeg-turbo (Alpine package) - addressed in versions 1.5.3-r2, 1.5.3-r3
libjpeg-turbo-test (Ubuntu package) - addressed in versions 1.3.0-0ubuntu2.1+esm2, 1.4.2-0ubuntu3.4+esm1
libturbojpeg (Ubuntu package) - addressed in versions 1.3.0-0ubuntu2.1+esm2, 1.4.2-0ubuntu3.4+esm1, 1.5.2-0ubuntu5.18.04.6
libjpeg-turbo-progs (Ubuntu package) - addressed in versions 1.3.0-0ubuntu2.1+esm2, 1.4.2-0ubuntu3.4+esm1
libjpeg-turbo8 (Ubuntu package) - addressed in versions 1.3.0-0ubuntu2.1+esm2, 1.4.2-0ubuntu3.4+esm1, 1.5.2-0ubuntu5.18.04.6
libjpeg62 (Ubuntu package) - addressed in versions 6b1-4ubuntu1+esm1, 1:6b2-2ubuntu0.1~esm1
libjpeg-progs (Ubuntu package) - update to 1:9b-1ubuntu1+esm1
libjpeg9 (Ubuntu package) - update to 1:9b-1ubuntu1+esm1
libjpeg-turbo - update to 1.5.3-5.fc28
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
Tanzu Greenplum for Kubernetes - update to 2.0.0
Flex System Chassis Management Module (CMM) - update to 2pet16d-2.5.13d
VMware Tanzu Operations Manager - addressed in versions 2.7.25, 2.8.16, 2.9.12, 2.10.39
Data Computing Appliance (DCA) - update to 4.3.0.0

External References

Related Security Bulletins