CVE-2021-44832Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration
Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to a remote code execution (RCE) attack when a configuration uses a JDBC Appender with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI data source names to the java protocol in Log4j2 versions 2.17.1, 2.12.4, and 2.3.2.
What to do
Likely to be exploited: EPSS gives a 98% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | apache-log4j2 | Fix pending | UBUNTU-CVE-2021-44832 | |
| Ubuntu 26.04 | apache-log4j2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | apache-log4j2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-44832 | |
| Ubuntu 24.04 | apache-log4j2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | apache-log4j2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | apache-log4j2 | Fixed | 2.17.1-0.20.04.1 | UBUNTU-CVE-2021-44832 |
| Ubuntu 18.04 | apache-log4j2 | Fixed | 2.12.4-0ubuntu0.1 | UBUNTU-CVE-2021-44832 |
| Ubuntu 16.04 | apache-log4j2 | Fix pending | UBUNTU-CVE-2021-44832 | |
| Debian 14 | apache-log4j2 | Fixed | 2.17.1-1 | DEBIAN-CVE-2021-44832 |
| Debian 13 | apache-log4j2 | Fixed | 2.17.1-1 | DEBIAN-CVE-2021-44832 |
| Debian 12 | apache-log4j2 | Fixed | 2.17.1-1 | DEBIAN-CVE-2021-44832 |
| Red Hat Enterprise Linux 8 | log4j12 | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j12-javadoc | Not affected | ||
| Red Hat Enterprise Linux 7 | log4j | Not affected | ||
| Red Hat Enterprise Linux 7 | log4j-javadoc | Not affected | ||
| Red Hat Enterprise Linux 7 | log4j-manual | Not affected | ||
| Red Hat Enterprise Linux 6 | log4j | Not affected | ||
| Red Hat Enterprise Linux 6 | log4j-javadoc | Not affected | ||
| Red Hat Enterprise Linux 6 | log4j-manual | Not affected | ||
| Maven library | org.apache.logging.log4j:log4j-core | Fixed | 2.12.4 | GHSA-8489-44mv-ggj8 |
| Maven library | org.ops4j.pax.logging:pax-logging-log4j2 | Fixed | 1.11.13 | GHSA-8489-44mv-ggj8 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Log4j2: affected: log4j-core to before 2.17.1; fixed in
2.17.1,2.12.4,2.3.2
Vendor advisories:
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://lists.apache.org/thread/s1o5vlo78ypqxnzn6p8zf6t9shtq5143
- https://issues.apache.org/jira/browse/LOG4J2-3293
- http://www.openwall.com/lists/oss-security/2021/12/28/1
- https://lists.debian.org/debian-lts-announce/2021/12/msg00036.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-784507.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EVV25FXL4FU5X6X5BSL7RLQ7T6F65MRA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T57MPJUW3MA6QGWZRTMCHHMMPQNVKGFC/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20220104-0001/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.