VDB

CVE-2021-42550

CVE-2021-42550 PUBLISHED CVSS 6.6 MEDIUM

RCE from attacker with configuration edit priviledges through JNDI lookup

Reported by ncsc.ch · Published December 16, 2021

logback-core is fixed in 1.2.9 and 1.2.7 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ch.qos.logback:logback-coreMaven Central1.2.9, 1.2.7
hadoop-fips-3.5Chainguard3.5.0-r12
sinec_nmssiemens1.0.3
logbackQOS.ch1.3.0-alpha11, 1.2.9
logbackqos1.2.7

Risk scores

CVSS 3.1
6.6
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
QOS.chlogbackunspecified, unspecified
QOS.chlogback*, *
chainguardhadoop-fips-3.50
Mavench.qos.logback:logback-core0

Timeline

  • Dec 16, 2021 CVE Published
  • Dec 20, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 20, 2026 Distribution Patch (32 in total, the first dated here)
  • Mar 20, 2026 Security Advisory (34 in total, the first dated here)
  • Jul 20, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-42550
vulnetix vdb fixes CVE-2021-42550

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-42550/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›