Exclude org/apache/logging/log4j/core/lookup/JndiLookup.class entirely
It's the one sure-fire way to prevent further exploits using JNDI through Log4j.
This commit is contained in:
@@ -153,6 +153,9 @@ shadowJar {
|
|||||||
// Exclude Checker Framework annotations
|
// Exclude Checker Framework annotations
|
||||||
exclude 'org/checkerframework/checker/**'
|
exclude 'org/checkerframework/checker/**'
|
||||||
|
|
||||||
|
// Exclude a Log4j class well-known for its use in recent security exploits.
|
||||||
|
exclude 'org/apache/logging/log4j/core/lookup/JndiLookup.class'
|
||||||
|
|
||||||
relocate 'org.bstats', 'com.velocitypowered.proxy.bstats'
|
relocate 'org.bstats', 'com.velocitypowered.proxy.bstats'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user