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.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Log4j | Apache | 2.0.1 (including) | 2.3.2 (excluding) |
Log4j | Apache | 2.4 (including) | 2.12.4 (excluding) |
Log4j | Apache | 2.13.0 (including) | 2.17.1 (excluding) |
Log4j | Apache | 2.0 (including) | 2.0 (including) |
Log4j | Apache | 2.0-beta7 (including) | 2.0-beta7 (including) |
Log4j | Apache | 2.0-beta8 (including) | 2.0-beta8 (including) |
Log4j | Apache | 2.0-beta9 (including) | 2.0-beta9 (including) |
Log4j | Apache | 2.0-rc1 (including) | 2.0-rc1 (including) |
Log4j | Apache | 2.0-rc2 (including) | 2.0-rc2 (including) |
EAP 7.4.4 release | RedHat | log4j-core | * |
EAP 7.4 log4j async | RedHat | log4j-core | * |
OpenShift Logging 5.0 | RedHat | openshift-logging/elasticsearch6-rhel8:v5.0.12-1 | * |
OpenShift Logging 5.1 | RedHat | openshift-logging/elasticsearch6-rhel8:v6.8.1-98 | * |
OpenShift Logging 5.2 | RedHat | openshift-logging/elasticsearch6-rhel8:v6.8.1-100 | * |
OpenShift Logging 5.3 | RedHat | openshift-logging/elasticsearch6-rhel8:v6.8.1-99 | * |
Red Hat AMQ Streams 1.6.7 | RedHat | * | |
Red Hat AMQ Streams 2.0.0 | RedHat | log4j-core | * |
Red Hat Data Grid 8.2.3 | RedHat | log4j-core | * |
Red Hat Fuse 7.8.2, 7.9.1, 7.10.1 | RedHat | log4j-core | * |
Red Hat Integration Camel Extensions for Quarkus 2.2 | RedHat | log4j-core | * |
Red Hat Integration Camel-K 1.6.3 | RedHat | log4j-core | * |
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | RedHat | eap7-log4j-0:2.17.1-1.redhat_00001.1.el8eap | * |
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | RedHat | eap7-log4j-0:2.17.1-1.redhat_00001.1.el7eap | * |
Red Hat OpenShift Container Platform 3.11 | RedHat | openshift3/ose-logging-elasticsearch5:v3.11.570-2.ge84e80c | * |
Red Hat OpenShift Container Platform 4.6 | RedHat | openshift4/ose-logging-elasticsearch6:v4.6.0-202201181437.p0.g181b827.assembly.stream | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | openshift4/ose-metering-hive:v4.7.0-202201271626.p0.g12e974d.assembly.stream | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | openshift4/ose-metering-presto:v4.7.0-202201271626.p0.g2155d34.assembly.stream | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | openshift4/ose-metering-hive:v4.8.0-202201271626.p0.g8fb24af.assembly.stream | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | openshift4/ose-metering-presto:v4.8.0-202201271626.p0.gf1abc62.assembly.stream | * |
Vert.x 4.1.8 | RedHat | log4j-core | * |
Apache-log4j2 | Ubuntu | bionic | * |
Apache-log4j2 | Ubuntu | esm-apps/bionic | * |
Apache-log4j2 | Ubuntu | esm-apps/focal | * |
Apache-log4j2 | Ubuntu | esm-infra/xenial | * |
Apache-log4j2 | Ubuntu | focal | * |
Apache-log4j2 | Ubuntu | hirsute | * |
Apache-log4j2 | Ubuntu | impish | * |
Apache-log4j2 | Ubuntu | lunar | * |
Apache-log4j2 | Ubuntu | mantic | * |
Apache-log4j2 | Ubuntu | oracular | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.