rishjaiswal / java-automation-framework

Testing Framework Created from Scratch Based on Java using Maven and TestNG
MIT License
1 stars 1 forks source link

CVE-2021-44228 (High) detected in log4j-core-2.14.1.jar - autoclosed #33

Closed mend-bolt-for-github[bot] closed 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2021-44228 - High Severity Vulnerability

Vulnerable Library - log4j-core-2.14.1.jar

The Apache Log4j Implementation

Library home page: https://logging.apache.org/log4j/2.x/

Path to dependency file: java-automation-framework/pom.xml

Path to vulnerable library: apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar

Dependency Hierarchy: - :x: **log4j-core-2.14.1.jar** (Vulnerable Library)

Found in HEAD commit: a73c0e0259d6071b2ae1f26a3b318a3f93bf6a11

Found in base branch: master

Vulnerability Details

Apache Log4j2 <=2.14.1 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. In previous releases (>2.10) this behavior can be mitigated by setting system property "log4j2.formatMsgNoLookups" to “true” or it can be mitigated in prior releases (<2.10) by removing the JndiLookup class from the classpath (example: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class).

Publish Date: 2021-12-10

URL: CVE-2021-44228

CVSS 3 Score Details (10.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-jfh8-c2jp-5v3q

Release Date: 2021-12-10

Fix Resolution: org.apache.logging.log4j:log4j-core:2.15.0;org.ops4j.pax.logging:pax-logging-log4j2:1.11.10,2.0.11


Step up your Open Source Security Game with WhiteSource here

mend-bolt-for-github[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.