Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. ch.qos.logback/logback-core
  4. ›
  5. CVE-2021-42550

CVE-2021-42550: Deserialization of Untrusted Data

December 17, 2021 (updated April 19, 2022)

In logback version 1.2.9 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.

References

  • logback.qos.ch/news.html
  • github.com/advisories/GHSA-668q-qrv7-99fm
  • github.com/cn-panda/logbackRceDemo
  • github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html
  • github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c
  • github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42
  • jira.qos.ch/browse/LOGBACK-1591
  • nvd.nist.gov/vuln/detail/CVE-2021-42550
  • security.netapp.com/advisory/ntap-20211229-0001/

Code Behaviors & Features

Detect and mitigate CVE-2021-42550 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.8

Fixed versions

  • 1.2.8

Solution

Upgrade to 1.2.8 or above.

Impact 6.6 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/ch.qos.logback/logback-core/CVE-2021-42550.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.