# CVE-2021-42550: RCE from attacker with configuration edit priviledges through JNDI lookup

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-12-16 · Modified: 2024-08-04
- Aliases: SUSE-SU-2023:2097-1, UBUNTU-CVE-2021-42550, DEBIAN-CVE-2021-42550, CGA-2v67-qg2x-x52g, CGA-37qh-c895-7588, CGA-3hcr-3m2q-5qj7, CGA-3vh2-6g95-wwfc, CGA-3x9q-j7ph-qv8g, CGA-55m4-6826-p593, CGA-5vg2-5wvj-746q, CGA-6phx-3m5m-phmf, CGA-745m-jmf8-rwm4, CGA-7797-qjpx-c2w8, CGA-7h9r-6rxq-j232, CGA-7xvc-82cj-fjwg, CGA-878w-j292-phwq, CGA-88mq-wr8f-rmw9, CGA-8c47-hx2p-f7vh, CGA-8q93-r2qh-3985, CGA-94j6-fqm8-v5hm, CGA-995p-wqw7-89v2, CGA-cvcv-67pc-xwr3, CGA-cwxr-3xrj-47f5, CGA-f6fh-r5qw-j698, CGA-fp74-wf9m-qj46, CGA-fv2q-r5wh-p4pm, CGA-g5hp-v83p-3vch, CGA-g7x5-2j9g-g58f, CGA-gm48-vfrj-mxv8, CGA-hf78-5hrm-72fw, CGA-jgp4-gg8x-8pjj, CGA-p55m-pq82-cwxj, CGA-p78j-c3v5-fvcv, CGA-p99q-m4q4-643m, CGA-phwf-56g9-p266, GHSA-668q-qrv7-99fm, CGA-r2jf-2q6w-rc6g, CGA-r7w7-x8pv-m365, CGA-rp3m-rwxh-f5vp, CGA-vrqm-2w96-6ch5, CGA-wfr3-xrrc-mpcf, CGA-whr7-v239-m8rw, CGA-x5j4-p9wc-p6cx, CGA-xm35-qgv2-cm9g
- Record: https://cvemate.com/vulnerability/CVE-2021-42550 · JSON: https://cvemate.com/vulnerability/CVE-2021-42550/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v2.0, NVD) AV:N/AC:M/Au:S/C:C/I:C/A:C
- EPSS: 4.77%, percentile 92.151%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference)

## Affected (first 20 of 109)

- chainguard eco-java-gradle-1.11 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.0 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.10 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.11 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.12 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.13 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.14 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.14.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.2 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.2.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.3 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.4 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.5 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.6 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.7 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.8 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.9 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.4.2 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.5 (Chainguard): \< 3.5.0-r12

## References (first 20 of 21)

- <http://logback.qos.ch/news.html>
- <https://github.com/cn-panda/logbackRceDemo>
- <https://jira.qos.ch/browse/LOGBACK-1591>
- <https://security.netapp.com/advisory/ntap-20211229-0001/>
- <http://seclists.org/fulldisclosure/2022/Jul/11>
- <http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdf>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20232097-1/>
- <https://bugzilla.suse.com/1193795>
- <https://www.suse.com/security/cve/CVE-2021-42550>
- <https://ubuntu.com/security/CVE-2021-42550>
- <https://github.com/qos-ch/logback/commit/21d772f2bc2ed780b01b4fe108df7e29707763f1>
- <https://www.cve.org/CVERecord?id=CVE-2021-42550>
- <https://ubuntu.com/security/notices/USN-7616-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-42550>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-42550>
- <https://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c>
- <https://github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42>
- <https://github.com/qos-ch/logback>
- <https://github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html>

---

Data as of 2026-12-05T04:23:21.399Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
