You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log4j 1.x mitigation
Log4j 1.x does not have Lookups so the risk is lower. Applications using Log4j 1.x are only vulnerable to this attack when they use JNDI in their configuration. A separate CVE (CVE-2021-4104) has been filed for this vulnerability. To mitigate: Audit your logging configuration to ensure it has no JMSAppender configured. Log4j 1.x configurations without JMSAppender are not impacted by this vulnerability.
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_.
The text was updated successfully, but these errors were encountered:
@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_
.The text was updated successfully, but these errors were encountered: