Vulnerability · Published Dec 16, 2021 · Assigned by NCSC.ch

CVE-2021-42550RCE from attacker with configuration edit priviledges through JNDI lookup

Medium 6.6

In plain English

A medium-severity unsafe deserialization in logback from QOS.ch. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.8% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)4.8%top 8.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files could craft a malicious configuration allowing to execute arbitrary code loaded from LDAP servers.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12logback1:1.2.8-1DEBIAN-CVE-2021-42550
Debian:13logback1:1.2.8-1DEBIAN-CVE-2021-42550
Debian:14logback1:1.2.8-1DEBIAN-CVE-2021-42550
Mavench.qos.logback:logback-core1.2.9GHSA-668q-qrv7-99fm
Rocky Linux:8libdb0:5.3.28-42.el8_4RLSA-2022:5498

Affected products (as reported)

VendorProductVersions
QOS.ch logback unspecified – before 1.2.9unspecified – before 1.3.0-alpha11

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

References