CVE-2021-45046
December 14, 2021
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.
Affected Packages
org.ops4j.pax.logging:pax-logging-log4j2 (JAVA):
Affected version(s) >=2.0.0 <2.0.12Fix Suggestion:
Update to version 2.0.12org.ops4j.pax.logging:pax-logging-log4j2 (JAVA):
Affected version(s) >=1.8.0 <1.9.2Fix Suggestion:
Update to version 1.9.2org.apache.logging.log4j:log4j-core (JAVA):
Affected version(s) >=2.0-alpha1 <2.12.2Fix Suggestion:
Update to version 2.12.2org.ops4j.pax.logging:pax-logging-log4j2 (JAVA):
Affected version(s) >=1.10.0 <1.10.8Fix Suggestion:
Update to version 1.10.8org.ops4j.pax.logging:pax-logging-log4j2 (JAVA):
Affected version(s) >=1.11.0 <1.11.11Fix Suggestion:
Update to version 1.11.11org.apache.logging.log4j:log4j-core (JAVA):
Affected version(s) >=2.13.0 <2.16.0Fix Suggestion:
Update to version 2.16.0Related Resources (31)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
Exploit Maturity
ATTACKED
CVSS v3
Base Score:
9.0
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Exploit Maturity
HIGH
CVSS v2
Base Score:
5.1
Access Vector
NETWORK
Access Complexity
HIGH
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Weakness Type (CWE)
EPSS
Base Score:
10.0