# CVE-2021-42550: logback: In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files co...

CVE-2021-42550 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2021-42550, released December 16, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-42550
- Priority: Routine
- CVSS: 6.6 (medium)
- EPSS: 0.0477
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 16, 2021

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libdb rocky 8 | 0:5.3.28-42.el8_4 | [RLSA-2022:5498](https://patchblox.com/security/data/fix/linux/rlsa-2022-5498.md) | Jul 5, 2022 |
| Linux | liblogback-java Ubuntu 18.04.6 LTS (bionic) | 1:1.2.3-2ubuntu1~18.04.1+esm1 | [liblogback-java 1:1.2.3-2ubuntu1~18.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-liblogback-java-1-1.2.3-2ubuntu1-18.04.1-esm1.md) | Nov 29, 2023 |
| Linux | liblogback-java Ubuntu 20.04 LTS (focal) | 1:1.2.3-5ubuntu0.1~esm1 | [liblogback-java 1:1.2.3-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-liblogback-java-1-1.2.3-5ubuntu0.1-esm1.md) | Nov 29, 2023 |
| Linux | logback Debian 12.15 (bookworm) | 1:1.2.8-1 | [DEBIAN-CVE-2021-42550](https://patchblox.com/security/data/fix/linux/debian-cve-2021-42550.md) | Dec 16, 2021 |
| Linux | logback Debian 13.5 (trixie) | 1:1.2.8-1 | [DEBIAN-CVE-2021-42550](https://patchblox.com/security/data/fix/linux/debian-cve-2021-42550.md) | Dec 16, 2021 |
| Linux | logback Debian 14 | 1:1.2.8-1 | [DEBIAN-CVE-2021-42550](https://patchblox.com/security/data/fix/linux/debian-cve-2021-42550.md) | Dec 16, 2021 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
