MEDIUM6.6
GHSA-668q-qrv7-99fm
Deserialization of Untrusted Data in logback
Quick fix
GHSA-668q-qrv7-99fm — ch.qos.logback:logback-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.2.9</version> for ch.qos.logback:logback-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/ch.qos.logback:logback-core
Introduced in:
0Fixed in: 1.2.9Fix
# pom.xml: bump <version>1.2.9</version> for ch.qos.logback:logback-coreReferences
- 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://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdf[WEB]
- https://github.com/cn-panda/logbackRceDemo[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://jira.qos.ch/browse/LOGBACK-1591[WEB]
- https://security.netapp.com/advisory/ntap-20211229-0001[WEB]
- http://logback.qos.ch/news.html[WEB]
- http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html[WEB]
- http://seclists.org/fulldisclosure/2022/Jul/11[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/ch.qos.logback/logback-core"]}'