Skip to content

Commit

Permalink
Clarify mitigations on Log4j
Browse files Browse the repository at this point in the history
  • Loading branch information
iamamoose committed Dec 12, 2021
1 parent 4f11496 commit b855f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2021/44xxx/CVE-2021-44228.json
Expand Up @@ -43,7 +43,7 @@
"description_data": [
{
"lang": "eng",
"value": "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 \u201ctrue\u201d or by removing the JndiLookup class from the classpath (example: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class). Java 8u121 (see https://www.oracle.com/java/technologies/javase/8u121-relnotes.html) protects against remote code execution by defaulting \"com.sun.jndi.rmi.object.trustURLCodebase\" and \"com.sun.jndi.cosnaming.object.trustURLCodebase\" to \"false\"."
"value": "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 \u201ctrue\u201d 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)."
}
]
},
Expand Down Expand Up @@ -130,4 +130,4 @@
"source": {
"discovery": "UNKNOWN"
}
}
}

2 comments on commit b855f90

@zmanion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cve-team please do whatever is necessary to get this change published, the text to be deleted could be considered dangerously misleading.

https://github.com/CVEProject/cvelist/blob/master/2021/44xxx/CVE-2021-44228.json

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228

https://nvd.nist.gov/vuln/detail/CVE-2021-44228

@zmanion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this change is back in place, thanks. dba1faa is the commit that overwrote b855f90.

Please sign in to comment.