Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 26.04 LTS / 26.10 : apache-log4j2 vulnerabilities (USN-9274-1)

medium Nessus Plugin ID 391282

Synopsis

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

Description

The remote Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 26.04 LTS / 26.10 host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9274-1 advisory.

It was discovered that Apache Log4j 2 was vulnerable to a remote code execution attack when configured to use a JDBC Appender with a JNDI LDAP data source URI. A remote attacker could possibly use this issue to cause a crash, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2021-44832)

Hideki Okamoto and Guy Lederfein discovered that Apache Log4j 2 did not protect against infinite recursion in lookup evaluation. A remote attacker could possibly use this issue to cause Apache Log4j 2 to crash, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS.
(CVE-2021-45105)

It was discovered that the Socket Appender in Apache Log4j 2 did not verify the hostname of the server certificate when using TLS, even when hostname verification was enabled. A remote attacker could possibly use this issue to perform a machine-in-the-middle attack and intercept or redirect log traffic. (CVE-2025-68161)

Tenable has extracted the preceding description block directly from the Ubuntu 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

Update the affected liblog4j2-java package.

See Also

https://ubuntu.com/security/CVE-2021-44832

https://ubuntu.com/security/CVE-2021-45105

https://ubuntu.com/security/CVE-2025-68161

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

Plugin Details

Severity: Medium

ID: 391282

File Name: ubuntu_USN-9274-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.5

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 7.4

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

CVSS Score Source: CVE-2021-44832

CVSS v3

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 6.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 6.3

Threat Vector: CVSS:4.0/E:A

Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N

CVSS Score Source: CVE-2025-68161

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.10, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:liblog4j2-java

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 12/10/2021

Reference Information

CVE: CVE-2021-44832, CVE-2021-45105, CVE-2025-68161

USN: 9274-1