Open litew opened 2 years ago
@litew I don't think "OLD" has anything to do with CVE-2021-4104. The last version of log4j 1.x was published in 2012: it's unmaintained and has a myriad of other critical vulnerabilities.
Personally, I think you're just as much at risk using logj 1.x regardless of whether you remove JMSAppender.
Edit: this is actually mentioned in the README.
You are safe from CVE-2021-44228, but should plan to upgrade because Log4J 1.2.x has been EOL for 7 years and has several known-vulnerabilities.
Version of log4j_detector:
log4j-detector-2021.12.20.jar
Hello, currently log4j-detector logs following lines after finding log4j 1.x files:
According to https://logging.apache.org/log4j/2.x/security.html, "CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints.":
Mentioned CVE-2021-4104 has CVSS 8.1 HIGH score.
As https://access.redhat.com/security/cve/CVE-2021-4104 states - there is possibility to manually mitigate CVE-2021-4104 vulnerability by removing JMSAppender class from log4j 1.x jar with following command:
After doing this log4j_detector will still report this file as
_OLD_
:Could you please add option to report old log4j 1.x patched versions as potentially safe? Maybe add another status, such as
_OLD_POTENTIALLY_SAFE
or maybe_OLD_MANUAL_MITIGATION_APPLIED_
.