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.
https://security.netapp.com/advisory/ntap-20211229-0001/
https://jira.qos.ch/browse/LOGBACK-1591
https://github.com/cn-panda/logbackRceDemo
https://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdf