CVE-2021-42550
RCE from attacker with configuration edit priviledges through JNDI lookup
Reported by ncsc.ch · Published December 16, 2021
logback-core is fixed in 1.2.9 and 1.2.7 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ch.qos.logback:logback-core | Maven Central | 1.2.9, 1.2.7 |
| hadoop-fips-3.5 | Chainguard | 3.5.0-r12 |
| sinec_nms | siemens | 1.0.3 |
| logback | QOS.ch | 1.3.0-alpha11, 1.2.9 |
| logback | qos | 1.2.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| QOS.ch | logback | unspecified, unspecified |
| QOS.ch | logback | *, * |
| chainguard | hadoop-fips-3.5 | 0 |
| Maven | ch.qos.logback:logback-core | 0 |
Timeline
- Dec 16, 2021 CVE Published
- Dec 20, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 20, 2026 Distribution Patch (32 in total, the first dated here)
- Mar 20, 2026 Security Advisory (34 in total, the first dated here)
- Jul 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-42550
vulnetix vdb fixes CVE-2021-42550
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-42550/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 20220721 Open-Xchange Security Advisory 2022-07-21 mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2021-42550 advisory
- https://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c patch
- https://github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42 patch
- https://github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html url
- https://github.com/advisories/GHSA-668q-qrv7-99fm advisory
- Multiples vulnérabilités dans les produits Juniper advisory
- Multiples vulnérabilités dans les produits Splunk advisory