WaratekVRT Sign in

CVE-2021-42550 logback

Affected softwarelogback
Severity6.6 Medium CVSS 3.1 3 scores
Fixed in1.2.9
WeaknessDeserialization of untrusted data (CWE-502)
Published16 Dec 2021
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 4.8% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2021-42550

Upgrade logback to 1.2.9 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.6 MEDIUM v3.1 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.6 MEDIUM CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H vulnerability@ncsc.ch Secondary published
CVSS 3.1 6.6 MEDIUM CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H NVD Primary
CVSS 2.0 8.5 none AV:N/AC:M/Au:S/C:C/I:C/A:C NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
ch.qos.logback:logback-core 0 1.2.9 unbounded

Products and versions

7 products, 18 version entries
SourceVendorProductSchemeAffected versions
osv ch.qos.logback logback-core generic < 1.2.9
nvd netapp cloud manager generic any version
nvd netapp service level manager generic any version
nvd netapp snap creator framework generic any version
nvd qos logback generic ≤ 1.2.7 · 1.3.0:alpha0 · 1.3.0:alpha1 · 1.3.0:alpha10 · 1.3.0:alpha2 · 1.3.0:alpha3 · 1.3.0:alpha4 · 1.3.0:alpha5 · 1.3.0:alpha6 · 1.3.0:alpha7 · 1.3.0:alpha8 · 1.3.0:alpha9
nvd redhat satellite generic 6.0
nvd siemens sinec nms generic < 1.0.3

References

URLTags
https://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c WEB
https://github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42 WEB
https://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdf WEB
https://github.com/cn-panda/logbackRceDemo WEB
https://github.com/qos-ch/logback PACKAGE
https://github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html WEB
https://jira.qos.ch/browse/LOGBACK-1591 WEB
https://security.netapp.com/advisory/ntap-20211229-0001 WEB
http://logback.qos.ch/news.html WEB
http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html WEB

Timeline

Published2021-12-16By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.