Ubuntu update for libjpeg-turbo



Published: 2022-08-08
Risk High
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2018-11813
CVE-2018-14498
CVE-2020-14152
CVE-2020-17541
CWE-ID CWE-835
CWE-125
CWE-119
CWE-121
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

libjpeg-turbo-test (Ubuntu package)
Operating systems & Components / Operating system package or component

libturbojpeg (Ubuntu package)
Operating systems & Components / Operating system package or component

libjpeg-turbo-progs (Ubuntu package)
Operating systems & Components / Operating system package or component

libjpeg-turbo8 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Infinite loop

EUVDB-ID: #VU24199

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2018-11813

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

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.

Mitigation

Update the affected package libjpeg-turbo to the latest version.

Vulnerable software versions

Ubuntu: 16.04, 14.04

libjpeg-turbo-test (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libturbojpeg (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo-progs (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo8 (Ubuntu package): before 1.4.20ubuntu3.4+esm1


CPE2.3 External links

http://ubuntu.com/security/notices/USN-5553-1

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) Out-of-bounds read

EUVDB-ID: #VU24203

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2018-14498

CWE-ID: CWE-125 - Out-of-bounds Read

Exploit availability: No

Description

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

The vulnerability exists due to a boundary condition when processing a crafted 8-bit BMP in which one or more of the color indices is out of range for the number of palette entries within the get_8bit_row in rdbmp.c. A remote attacker can create a specially crafted file, pass it to the application, trigger out-of-bounds read error and crash the affected application.

Mitigation

Update the affected package libjpeg-turbo to the latest version.

Vulnerable software versions

Ubuntu: 16.04, 14.04

libjpeg-turbo-test (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libturbojpeg (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo-progs (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo8 (Ubuntu package): before 1.4.20ubuntu3.4+esm1


CPE2.3 External links

http://ubuntu.com/security/notices/USN-5553-1

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

3) Buffer overflow

EUVDB-ID: #VU29121

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2020-14152

CWE-ID: CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer

Exploit availability: No

Description

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

The vulnerability exists due to a boundary error in "jpeg_mem_available()" function in "jmemnobs.c" file in djpeg. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and gain access to sensitive information or cause a denial of service condition on the target system.


Mitigation

Update the affected package libjpeg-turbo to the latest version.

Vulnerable software versions

Ubuntu: 16.04, 14.04

libjpeg-turbo-test (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libturbojpeg (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo-progs (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo8 (Ubuntu package): before 1.4.20ubuntu3.4+esm1


CPE2.3 External links

http://ubuntu.com/security/notices/USN-5553-1

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

4) Stack-based buffer overflow

EUVDB-ID: #VU54089

Risk: High

CVSSv3.1:

CVE-ID: CVE-2020-17541

CWE-ID: CWE-121 - Stack-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the in the "transform" component in Libjpeg-turb. A remote attacker can create a specially crafted JPEG image, pass it to the affected aplication, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package libjpeg-turbo to the latest version.

Vulnerable software versions

Ubuntu: 16.04, 14.04

libjpeg-turbo-test (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libturbojpeg (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo-progs (Ubuntu package): before 1.4.20ubuntu3.4+esm1

libjpeg-turbo8 (Ubuntu package): before 1.4.20ubuntu3.4+esm1


CPE2.3 External links

http://ubuntu.com/security/notices/USN-5553-1

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###