mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-03-31 16:30:30 +08:00
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:
parent
002452e755
commit
fd842c4364
@ -153,6 +153,9 @@ shadowJar {
|
||||
// Exclude Checker Framework annotations
|
||||
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'
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user