Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.
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 (including) | 2.3.1 (excluding) |
Log4j | Apache | 2.4 (including) | 2.12.3 (excluding) |
Log4j | Apache | 2.13.0 (including) | 2.16.0 (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.11-2 | * |
OpenShift Logging 5.1 | RedHat | openshift-logging/elasticsearch6-rhel8:v6.8.1-82 | * |
OpenShift Logging 5.2 | RedHat | openshift-logging/elasticsearch6-rhel8:v6.8.1-83 | * |
OpenShift Logging 5.3 | RedHat | openshift-logging/elasticsearch6-rhel8:v6.8.1-84 | * |
Red Hat AMQ Streams 1.6.6 | 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 4.6 | RedHat | openshift4/ose-logging-elasticsearch6:v4.6.0-202112201736.p0.gce7f68c.assembly.stream | * |
Red Hat Single Sign-On 7 | RedHat | log4j-api | * |
Red Hat Single Sign-On 7.5 for RHEL 7 | RedHat | rh-sso7-keycloak-0:15.0.6-1.redhat_00001.1.el7sso | * |
Red Hat Single Sign-On 7.5 for RHEL 8 | RedHat | rh-sso7-keycloak-0:15.0.6-1.redhat_00001.1.el8sso | * |
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 | upstream | * |
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.