CVE-2021-44832
published medium CVSS 3.1 · 6.6Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Log4j2log4j-core to < 2.17.1 (affected · custom); changes: affected at 2.13.0, unaffected at 2.12.4, affected at 2.4, unaffected at 2.3.2, affected at 2.0-beta7 | Version-specific | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1734 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | stretch | apache-log4j2 | Advisory build | 2.12.4-0+deb9u1 | DLA-2870-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | log4jnoarch | Advisory build | 2.17.0-lp152.3.15.1 | OPENSUSE-SU-2022:0002-1 |
| Ubuntu | bionic | apache-log4j2 | Advisory build | 2.12.4-0ubuntu0.1 | USN-5222-1 |
| Amazon Linux | AL2 | aws-kinesis-agentnoarch | Listed in advisory | Not stated | ALAS2-2022-1734 |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.2 | log4j-javadocnoarch | Advisory build | 2.17.0-lp152.3.15.1 | OPENSUSE-SU-2022:0002-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | log4j-jclnoarch | Advisory build | 2.17.0-lp152.3.15.1 | OPENSUSE-SU-2022:0002-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | log4j-slf4jnoarch | Advisory build | 2.17.0-lp152.3.15.1 | OPENSUSE-SU-2022:0002-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | log4jnoarch | Advisory build | 2.17.0-4.16.1 | OPENSUSE-SU-2021:4208-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | log4j-javadocnoarch | Advisory build | 2.17.0-4.16.1 | OPENSUSE-SU-2021:4208-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | log4j-jclnoarch | Advisory build | 2.17.0-4.16.1 | OPENSUSE-SU-2021:4208-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | log4j-slf4jnoarch | Advisory build | 2.17.0-4.16.1 | OPENSUSE-SU-2021:4208-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jaarch64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jppc64le | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4js390x | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jx86_64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocaarch64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocppc64le | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocs390x | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocx86_64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclaarch64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclppc64le | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jcls390x | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclx86_64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jaarch64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jppc64le | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4js390x | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jx86_64 | Advisory build | 2.17.1-1.1 | OPENSUSE-SU-2024:11702-1 |
| Ubuntu | bionic | liblog4j2-java | Advisory build | 2.12.4-0ubuntu0.1 | USN-5222-1 |
| Ubuntu | focal | apache-log4j2 | Advisory build | 2.17.1-0.20.04.1 | USN-5222-1 |
| Ubuntu | focal | liblog4j2-java | Advisory build | 2.17.1-0.20.04.1 | USN-5222-1 |
| Amazon Linux | AL2 | aws-kinesis-agentsrc | Listed in advisory | Not stated | ALAS2-2022-1734 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Log4j2 | log4j-core to < 2.17.1 (affected · custom); changes: affected at 2.13.0, unaffected at 2.12.4, affected at 2.4, unaffected at 2.3.2, affected at 2.0-beta7 | apache · cna |
Weaknesses
2- CWE-20 CWE-20 Improper Input Validation
- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
12- [oss-security] 20211228 CVE-2021-44832: Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration http://www.openwall.com/lists/oss-security/2021/12/28/1
- https://cert-portal.siemens.com/productcert/pdf/ssa-784507.pdf
- https://issues.apache.org/jira/browse/LOG4J2-3293
- https://lists.apache.org/thread/s1o5vlo78ypqxnzn6p8zf6t9shtq5143
- [debian-lts-announce] 20211229 [SECURITY] [DLA 2870-1] apache-log4j2 security update https://lists.debian.org/debian-lts-announce/2021/12/msg00036.html
- FEDORA-2021-c6f471ce0f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EVV25FXL4FU5X6X5BSL7RLQ7T6F65MRA/
- FEDORA-2021-1bd9151bab https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T57MPJUW3MA6QGWZRTMCHHMMPQNVKGFC/
- https://security.netapp.com/advisory/ntap-20220104-0001/
- 20211210 Vulnerabilities in Apache Log4j Library Affecting Cisco Products: December 2021 https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
3apache · cna
Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cca6a3f988bafb64ad8271dbc12e791e35242890c6e94ac4dfb6365110ee7bee
- Ingested
- 23 Sep 2026, 07:56:43 UTC
- Source record
- Official CVE record