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

- Severity: Medium 6.6 (CVSS:3.1, scored by NCSC.ch) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.77%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-12-16T00:00:00.000Z
- Modified: 2026-06-17T04:09:48.663Z
- Also known as: GHSA-668q-qrv7-99fm
- Weaknesses: CWE-502
- Assigned by: NCSC.ch

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

(As written by CVE List.)

## Affected

- QOS.ch logback: from unspecified before 1.2.9; from unspecified before 1.3.0-alpha11
- ch.qos.logback:logback-core (Maven): before 1.2.9
- qos logback: up to 1.2.7; 1.3.0
- redhat satellite: 6.0
- netapp cloud_manager: no versions given
- netapp service_level_manager: no versions given
- netapp snap_creator_framework: no versions given
- siemens sinec_nms: before 1.0.3

## Every score

- NCSC.ch: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 8.5 High `AV:N/AC:M/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/cn-panda/logbackRceDemo> (exploit, third-party-advisory, web)
- <https://jira.qos.ch/browse/LOGBACK-1591> (exploit, issue-tracking, patch, third-party-advisory, web)
- <http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html> (exploit, third-party-advisory, vdb-entry, web)
- <http://logback.qos.ch/news.html> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20211229-0001/> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Jul/11> (mailing-list, third-party-advisory, web)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdf> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-42550> (advisory)
- <https://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c> (web)
- <https://github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42> (web)
- <https://github.com/qos-ch/logback> (package)
- <https://github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html> (web)
- <https://security.netapp.com/advisory/ntap-20211229-0001> (web)

## Sources

- CVE List: [CVE-2021-42550](https://www.cve.org/CVERecord?id=CVE-2021-42550), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-668q-qrv7-99fm](https://github.com/advisories/GHSA-668q-qrv7-99fm), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-42550](https://nvd.nist.gov/vuln/detail/CVE-2021-42550), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42550 · Whole record: https://cve.day/CVE-2021-42550.json · Rebuilt by cve.day 2026-11-25T22:58:06.055Z
