OESA-2022-1957

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1957
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1957.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1957
Upstream
Published
2022-09-23T11:04:21Z
Modified
2025-08-12T05:10:44.385262Z
Summary
log4j security update
Details

Log4j is a tool to help the programmer output log statements to a variety of output targets.

Security Fix(es):

It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.(CVE-2021-45046)

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.(CVE-2021-45105)

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.(CVE-2021-44832)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP3 / log4j

Package

Name
log4j
Purl
pkg:rpm/openEuler/log4j&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.17.0-3.oe1

Ecosystem specific

{
    "src": [
        "log4j-2.17.0-3.oe1.src.rpm"
    ],
    "noarch": [
        "log4j-web-2.17.0-3.oe1.noarch.rpm",
        "log4j-slf4j-2.17.0-3.oe1.noarch.rpm",
        "log4j-bom-2.17.0-3.oe1.noarch.rpm",
        "log4j-help-2.17.0-3.oe1.noarch.rpm",
        "log4j-2.17.0-3.oe1.noarch.rpm",
        "log4j-taglib-2.17.0-3.oe1.noarch.rpm",
        "log4j-jmx-gui-2.17.0-3.oe1.noarch.rpm",
        "log4j-jcl-2.17.0-3.oe1.noarch.rpm"
    ]
}