Debian DSA-5024-1 : apache-log4j2 - security update

medium Nessus Plugin ID 156189

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 / 11 host has a package installed that is affected by a vulnerability as referenced in the dsa-5024 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

Upgrade the apache-log4j2 packages.

For the stable distribution (bullseye), this problem has been fixed in version 2.17.0-1~deb11u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001891

http://www.nessus.org/u?a7f9f2b8

https://www.debian.org/security/2021/dsa-5024

https://security-tracker.debian.org/tracker/CVE-2021-45105

https://packages.debian.org/source/buster/apache-log4j2

https://packages.debian.org/source/bullseye/apache-log4j2

Plugin Details

Severity: Medium

ID: 156189

File Name: debian_DSA-5024.nasl

Version: 1.5

Type: local

Agent: unix

Published: 12/19/2021

Updated: 2/14/2022

Supported Sensors: Frictionless Assessment Agent, 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: p-cpe:/a:debian:debian_linux:liblog4j2-java, cpe:/o:debian:debian_linux:10.0, cpe:/o:debian:debian_linux:11.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/18/2021

Vulnerability Publication Date: 12/18/2021

Reference Information

CVE: CVE-2021-45105

IAVA: 2021-A-0573