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?
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=trueDetails
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-42550
- Linkgithub.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c
- Linkgithub.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42
- Linkcert-portal.siemens.com/productcert/pdf/ssa-371761.pdf
- Linkgithub.com/cn-panda/logbackRceDemo
- Packagegithub.com/qos-ch/logback
- Linkgithub.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html
- Linkjira.qos.ch/browse/LOGBACK-1591
- Linksecurity.netapp.com/advisory/ntap-20211229-0001
- Linklogback.qos.ch/news.html
- Linkpacketstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html
- Linkseclists.org/fulldisclosure/2022/Jul/11
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.