MODERATE 6.6
CVE-2021-42550
Deserialization of Untrusted Data in logback
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| ch.qos.logback » logback-core | < 1.2.9 | 1.2.9 |
Blast radius
1affected artifacts
91affected versions
58,363dependent artifacts (est.)
1,612,395dependent versions
65% of the dependent artifacts (37,966) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 67,733 |
| 2 hops | 340,198 |
| 3 hops | 391,539 |
| 4 hops | 393,073 |
| 5 hops | 297,032 |
| 6 hops | 122,820 |
Most used dependents
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- ch.qos.logback » logback-classic35,217 usages
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.reflections » reflections5,225 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-aop4,662 usages
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
- org.springframework.boot » spring-boot-starter-security3,606 usages
- io.netty » netty-all3,584 usages
- org.codehaus.mojo » cobertura-maven-plugin3,365 usages
- org.apache.spark » spark-sql3,174 usages
- org.springframework.boot » spring-boot-starter-data-redis3,154 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-42550
- Webhttps://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c
- Webhttps://github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42
- Webhttps://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdf
- Webhttps://github.com/cn-panda/logbackRceDemo
- Packagehttps://github.com/qos-ch/logback
- Webhttps://github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html
- Webhttps://jira.qos.ch/browse/LOGBACK-1591
- Webhttps://security.netapp.com/advisory/ntap-20211229-0001
- Webhttp://logback.qos.ch/news.html
- Webhttp://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html
- Webhttp://seclists.org/fulldisclosure/2022/Jul/11
