{"id":"CVE-2021-42550","published":"2021-12-16T00:00:00Z","modified":"2024-08-04T03:38:49Z","title":"RCE from attacker with configuration edit priviledges through JNDI lookup","vendor":"QOS.ch","product":"logback","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0477,"percentile":0.92118,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"http://logback.qos.ch/news.html","tags":[]},{"url":"https://github.com/cn-panda/logbackRceDemo","tags":[]},{"url":"https://jira.qos.ch/browse/LOGBACK-1591","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20211229-0001/","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/Jul/11","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdf","tags":[]}],"priority":{"score":28.0,"factors":[{"name":"EPSS percentile","points":18.42},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"qos-ch","affectedVersions":[{"vendor":"QOS.ch","product":"logback","versions":[">= unspecified, < 1.2.9",">= unspecified, < 1.3.0-alpha11"]}],"solutions":{"items":["upgrade to >=1.2.9 or >=1.3.0-alpha11"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"ch.qos.logback:logback-core","vulnerableRanges":["<1.2.9"],"patched":["1.2.9"],"from":["GHSA-668q-qrv7-99fm"],"provenance":"source"}],"summary":{"text":"The flaw is a JNDI lookup issue in the logback logging library from QOS.ch, affecting version 1.2.7 and earlier, where the configuration handling can be abused to load and run code from LDAP servers. An attacker who already holds privileges to edit logback configuration files, and who can craft a malicious configuration, can achieve arbitrary code execution, with exploitation requiring those elevated privileges and a high-complexity setup.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:29:38Z"},"euvd":{"id":"EUVD-2021-2454","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html"],"lineage":{"packageHistory":[{"cve":"CVE-2017-5929","published":"2017-03-13","fixed":"1.2.0","kev":false},{"cve":"CVE-2021-42550","published":"2021-12-16","fixed":"1.2.9","kev":false},{"cve":"CVE-2023-6378","published":"2023-11-29","fixed":"1.4.12","kev":false,"link":{"from":"CVE-2021-42550","to":"CVE-2023-6378","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:ch.qos.logback:logback-core","fromFixed":"1.2.9","toFixed":"1.2.13","daysApart":713}]}},{"cve":"CVE-2023-6481","published":"2023-12-04","fixed":"1.4.14","kev":false},{"cve":"CVE-2024-12798","published":"2024-12-19","fixed":"1.5.13","kev":false}],"package":"Maven:ch.qos.logback:logback-core"}}