Debian DLA-1638-1 : libjpeg-turbo security update

high Nessus Plugin ID 121315

Synopsis

The remote Debian host is missing a security update.

Description

Several vulnerabilities have been resolved in libjpeg-turbo, Debian's default JPEG implemenation.

CVE-2016-3616

The cjpeg utility in libjpeg allowed remote attackers to cause a denial of service (NULL pointer dereference and application crash) or execute arbitrary code via a crafted file.

This issue got fixed by the same patch that fixed CVE-2018-11213 and CVE-2018-11214.

CVE-2018-1152

libjpeg-turbo has been found vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image. The issue has been resolved by a boundary check.

CVE-2018-11212

The alloc_sarray function in jmemmgr.c allowed remote attackers to cause a denial of service (divide-by-zero error) via a crafted file.

The issue has been addressed by checking the image size when reading a targa file and throwing an error when image width or height is 0.

CVE-2018-11213 CVE-2018-11214

The get_text_gray_row and get_text_rgb_row functions in rdppm.c both allowed remote attackers to cause a denial of service (Segmentation fault) via a crafted file.

By checking the range of integer values in PPM text files and adding checks to ensure values are within the specified range, both issues

For Debian 8 'Jessie', these problems have been fixed in version 1:1.3.1-12+deb8u1.

We recommend that you upgrade your libjpeg-turbo packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2019/01/msg00015.html

https://packages.debian.org/source/jessie/libjpeg-turbo

https://www.tenable.com/security/research/tra-2018-17

Plugin Details

Severity: High

ID: 121315

File Name: debian_DLA-1638.nasl

Version: 1.5

Type: local

Agent: unix

Published: 1/23/2019

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libjpeg-dev, p-cpe:/a:debian:debian_linux:libjpeg-turbo-progs, p-cpe:/a:debian:debian_linux:libjpeg-turbo-progs-dbg, p-cpe:/a:debian:debian_linux:libjpeg62-turbo, p-cpe:/a:debian:debian_linux:libjpeg62-turbo-dbg, p-cpe:/a:debian:debian_linux:libjpeg62-turbo-dev, p-cpe:/a:debian:debian_linux:libturbojpeg1, p-cpe:/a:debian:debian_linux:libturbojpeg1-dbg, p-cpe:/a:debian:debian_linux:libturbojpeg1-dev, cpe:/o:debian:debian_linux:8.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 1/22/2019

Vulnerability Publication Date: 2/13/2017

Reference Information

CVE: CVE-2016-3616, CVE-2018-11212, CVE-2018-11213, CVE-2018-11214, CVE-2018-1152