Ubuntu 20.04 LTS / 21.04 : Apache Log4j 2 vulnerability (USN-5203-1)

medium Nessus Plugin ID 156190

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 20.04 LTS / 21.04 host has a package installed that is affected by a vulnerability as referenced in the USN-5203-1 advisory.

- Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0 and 2.12.3. (CVE-2021-45105)

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

Solution

Update the affected liblog4j2-java package.

See Also

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

Plugin Details

Severity: Medium

ID: 156190

File Name: ubuntu_USN-5203-1.nasl

Version: 1.5

Type: local

Agent: unix

Published: 12/19/2021

Updated: 2/14/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

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

CVSS Score Source: CVE-2021-45105

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.7

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:21.04, p-cpe:/a:canonical:ubuntu_linux:liblog4j2-java

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/19/2021

Vulnerability Publication Date: 12/18/2021

Reference Information

CVE: CVE-2021-45105

USN: 5203-1

IAVA: 2021-A-0573