Ubuntu 18.04 LTS / 20.04 LTS : libjpeg-turbo vulnerabilities (USN-5631-1)

high Nessus Plugin ID 165321

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-5631-1 advisory.

- libjpeg 9c has a large loop because read_pixel in rdtarga.c mishandles EOF. (CVE-2018-11813)

- Libjpeg-turbo all version have a stack-based buffer overflow in the transform component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service. (CVE-2020-17541)

- A crafted input file could cause a null pointer dereference in jcopy_sample_rows() when processed by libjpeg-turbo. (CVE-2020-35538)

- The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit binary PPM file into a grayscale buffer and loading a 16-bit binary PGM file into an RGB buffer. This is related to a heap-based buffer overflow in the get_word_rgb_row function in rdppm.c. (CVE-2021-46822)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-5631-1

Plugin Details

Severity: High

ID: 165321

File Name: ubuntu_USN-5631-1.nasl

Version: 1.2

Type: local

Agent: unix

Published: 9/22/2022

Updated: 9/22/2022

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

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS Score Source: CVE-2020-17541

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: cpe:2.3:o:canonical:ubuntu_linux:18.04:-:lts:*:*:*:*:*, cpe:2.3:o:canonical:ubuntu_linux:20.04:-:lts:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libjpeg-turbo8:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libturbojpeg:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libjpeg-turbo-progs:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libjpeg-turbo-test:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libjpeg-turbo8-dev:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libturbojpeg0-dev:*:*:*:*:*:*:*

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/22/2022

Vulnerability Publication Date: 6/6/2018

Reference Information

CVE: CVE-2018-11813, CVE-2020-17541, CVE-2021-46822, CVE-2020-35538

USN: 5631-1