apache-log4j2 — security advisory
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.
- Products
- apache-log4j2
- Affected versions
- 2.10.0-1, 2.10.0-2, 2.10.0-2ubuntu0.1, 2.11.1-2, 2.11.2-1, 2.15.0-0.20.04.1, 2.16.0-0.20.04.1, 2.17.0-0.20.04.1, 2.19.0-2, 2.19.0-2build1, 2.2-1, 2.4-1, 2.4-2, 2.4-2ubuntu0.1~esm1, 2.8.2-1, 2.8.2-2
- Fixed versions
- 2.12.4-0ubuntu0.1, 2.17.1-0.20.04.1
- CVEs
- CVE-2021-44832
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:35 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2021-44832
apache-log4j2
Fixed versions: Not specified
apache-log4j2
Fixed versions: 2.12.4-0ubuntu0.1
apache-log4j2
Fixed versions: 2.17.1-0.20.04.1
apache-log4j2
Fixed versions: Not specified
apache-log4j2
Fixed versions: Not specified
apache-log4j2
Fixed versions: Not specified
apache-log4j2
Fixed versions: Not specified
Complete source record
{
"id": "8e7af9d70422b54c790384da6b13f615a33650f70b10ebfb906204d05a6c3e06",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-44832",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-44832",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2021-44832",
"products": [
{
"name": {
"value": "apache-log4j2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.4-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.4-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "apache-log4j2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.12.4-0ubuntu0.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "2.8.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.8.2-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.10.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.10.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.10.0-2ubuntu0.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "apache-log4j2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.17.1-0.20.04.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "2.11.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.11.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.15.0-0.20.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "2.16.0-0.20.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "2.17.0-0.20.04.1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "apache-log4j2",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.19.0-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "apache-log4j2",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.19.0-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "apache-log4j2",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.19.0-2build1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "apache-log4j2",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.19.0-2",
"evidence": "/affected/6/versions"
},
{
"value": "2.19.0-2build1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2021-44832",
"aliases": [
"UBUNTU-CVE-2021-44832"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apache-log4j2",
"purl": "pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"2.2-1",
"2.4-1",
"2.4-2",
"2.4-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4j2-java",
"binary_version": "2.4-2ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.12.4-0ubuntu0.1"
}
]
}
],
"package": {
"name": "apache-log4j2",
"purl": "pkg:deb/ubuntu/apache-log4j2?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.8.2-1",
"2.8.2-2",
"2.10.0-1",
"2.10.0-2",
"2.10.0-2ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4j2-java",
"binary_version": "2.12.4-0ubuntu0.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.17.1-0.20.04.1"
}
]
}
],
"package": {
"name": "apache-log4j2",
"purl": "pkg:deb/ubuntu/apache-log4j2?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.11.1-2",
"2.11.2-1",
"2.15.0-0.20.04.1",
"2.16.0-0.20.04.1",
"2.17.0-0.20.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4j2-java",
"binary_version": "2.17.1-0.20.04.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apache-log4j2",
"purl": "pkg:deb/ubuntu/apache-log4j2?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.19.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4j2-java",
"binary_version": "2.19.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apache-log4j2",
"purl": "pkg:deb/ubuntu/apache-log4j2?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.19.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4j2-java",
"binary_version": "2.19.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apache-log4j2",
"purl": "pkg:deb/ubuntu/apache-log4j2?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.19.0-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4j2-java",
"binary_version": "2.19.0-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apache-log4j2",
"purl": "pkg:deb/ubuntu/apache-log4j2?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.19.0-2",
"2.19.0-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4j2-java",
"binary_version": "2.19.0-2build1"
}
]
}
}
],
"modified": "2026-10-17T12:55:48.068404057Z",
"provider": "osv",
"upstream": [
"CVE-2021-44832"
],
"references": [
"https://ubuntu.com/security/CVE-2021-44832",
"https://issues.apache.org/jira/browse/LOG4J2-3293",
"https://github.com/apache/logging-log4j2/commit/05db5f9527254632b59aed2a1d78a32c5ab74f16",
"https://ubuntu.com/security/notices/USN-5222-1",
"https://www.cve.org/CVERecord?id=CVE-2021-44832"
]
},
"related_cves": [
{
"value": "CVE-2021-44832",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354108,
"published_at": "2021-12-28T20:15:00+00:00"
}