Debian DLA-2852-1 : apache-log4j2 - LTS security update

low Nessus Plugin ID 156396

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2852 advisory.

Several security vulnerabilities were found in Apache Log4j2, a Logging Framework for Java, which could lead to a denial of service or information disclosure. CVE-2020-9488 Improper validation of certificate with host mismatch in Apache Log4j SMTP appender. This could allow an SMTPS connection to be intercepted by a man-in-the-middle attack which could leak any log messages sent through that appender. CVE-2021-45105 Apache Log4j2 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. For Debian 9 stretch, these problems have been fixed in version 2.12.3-0+deb9u1. We recommend that you upgrade your apache-log4j2 packages. For the detailed security status of apache-log4j2 please refer to its security tracker page at: https://security-tracker.debian.org/tracker/apache-log4j2 Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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

Solution

Upgrade the apache-log4j2 packages.

For Debian 9 stretch, these problems have been fixed in version 2.12.3-0+deb9u1.

See Also

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

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

https://www.debian.org/lts/security/2021/dla-2852

https://security-tracker.debian.org/tracker/CVE-2020-9488

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

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

Plugin Details

Severity: Low

ID: 156396

File Name: debian_DLA-2852.nasl

Version: 1.5

Type: local

Agent: unix

Published: 12/30/2021

Updated: 1/24/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

CVSS Score Source: CVE-2020-9488

CVSS v3

Risk Factor: Low

Base Score: 3.7

Temporal Score: 3.6

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:liblog4j2-java, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:liblog4j2-java-doc

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/26/2021

Vulnerability Publication Date: 4/27/2020

Reference Information

CVE: CVE-2020-9488, CVE-2021-45105

IAVA: 2020-A-0196-S, 2020-A-0324, 2021-A-0035-S, 2021-A-0573