Ubuntu 16.04 LTS : OpenJPEG vulnerabilities (USN-4880-1)

high Nessus Plugin ID 148002


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


The remote Ubuntu 16.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-4880-1 advisory.

- A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files. An attacker could use this flaw to cause an application crash or in some cases execute arbitrary code with the permission of the user running such an application. (CVE-2020-27814)

- There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability. (CVE-2020-27841)

- There's a flaw in src/lib/openjp2/pi.c of openjpeg in versions prior to 2.4.0. If an attacker is able to provide untrusted input to openjpeg's conversion/encoding functionality, they could cause an out-of-bounds read. The highest impact of this flaw is to application availability. (CVE-2020-27845)

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


Update the affected packages.

See Also


Plugin Details

Severity: High

ID: 148002

File Name: ubuntu_USN-4880-1.nasl

Version: 1.4

Type: local

Agent: unix

Published: 3/23/2021

Updated: 6/3/2021

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

Risk Information

CVSS Score Source: CVE-2020-27823


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

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


Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:16.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libopenjp2-7, p-cpe:/a:canonical:ubuntu_linux:libopenjp2-7-dev, p-cpe:/a:canonical:ubuntu_linux:libopenjp2-tools, p-cpe:/a:canonical:ubuntu_linux:libopenjp3d-tools, p-cpe:/a:canonical:ubuntu_linux:libopenjp3d7, p-cpe:/a:canonical:ubuntu_linux:libopenjpip-dec-server, p-cpe:/a:canonical:ubuntu_linux:libopenjpip-server, p-cpe:/a:canonical:ubuntu_linux:libopenjpip-viewer, p-cpe:/a:canonical:ubuntu_linux:libopenjpip7

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/16/2021

Vulnerability Publication Date: 1/5/2021

Reference Information

CVE: CVE-2020-27814, CVE-2020-27823, CVE-2020-27824, CVE-2020-27841, CVE-2020-27845

USN: 4880-1