MediumGHSA-668q-qrv7-99fmCVE-2021-42550

Deserialization of Untrusted Data in logback

Published 17 Dec 2021 · Updated 16 Feb 2024

Is your project on an affected ch.qos.logback:logback-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.2.9
Fixed in
1.2.9
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=ch.qos.logback:logback-core -DdepVersion=1.2.9 -DforceVersion=true

Details

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.

Is GHSA-668q-qrv7-99fm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ch.qos.logback:logback-core, and gives you the command that fixes it.

More advisories for ch.qos.logback:logback-core

  • LowCVE-2026-10532Logback vulnerable to Object Injection through HardenedObjectInputStream modules · 1 Jun 2026
  • LowCVE-2026-9828QOS.CH Sarl logback logback-core has a deserialization of untrusted data vulnerability · 28 May 2026
  • LowCVE-2026-1225Logback allows an attacker to instantiate classes already present on the class path · 22 Jan 2026
  • MediumCVE-2025-11226QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing · 1 Oct 2025
  • MediumCVE-2024-12798QOS.CH logback-core Expression Language Injection vulnerability · 19 Dec 2024
  • LowCVE-2024-12801QOS.CH logback-core Server-Side Request Forgery vulnerability · 19 Dec 2024
All 10 advisories for ch.qos.logback:logback-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.