openEuler Security Advisory
OESA-2021-1481
log4j security update
Details
Log4j is a tool to help the programmer output log statements to a variety of output targets.
Security Fix(es):
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 where an attacker with permission to modify the logging configuration file can construct a malicious configuration using a JDBC Appender with a data source referencing a JNDI URI which can execute remote code. 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.(CVE-2021-44832)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | log4j,mybatis,netty,springframework,wildfly-security-manager,wildfly-elytron,wildfly-build-tools,wildfly-common,wildfly-core,thrift,json-lib,datanucleus-core,jgroups,mx4j,jboss-logging,infinispan,datanucleus-rdbms,avalon-logkit,datanucleus-api-jdo,avalon-framework,HikariCP,metrics | All versions before avalon-framework-4.3-25.oe1 (fixed in avalon-framework-4.3-25.oe1) |
| openEuler:20.03-LTS-SP2 | log4j,mybatis,netty,springframework,wildfly-security-manager,wildfly-elytron,wildfly-build-tools,wildfly-common,wildfly-core,thrift,json-lib,datanucleus-core,jgroups,mx4j,jboss-logging,infinispan,datanucleus-rdbms,avalon-logkit,datanucleus-api-jdo,avalon-framework,HikariCP,metrics | All versions before avalon-framework-4.3-25.oe1 (fixed in avalon-framework-4.3-25.oe1) |