Better HN
topnewbestaskshowjobs
Log inSign up

phgr100x

3 karma · joined Dec 11, 2021 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

https://github.com/Glavo/log4j-patch

This is a non-intrusive patch that allows you to block this vulnerability without modifying the program code/updating the dependent. So you can use it to patch third-party programs, such as Minecraft.

The principle of the library is simple: It provides an empty JndiLookup to override the implementation in log4j. Log4j2 can handle this situation and safely disable JNDI lookup.

It is compatible with all versions of log4j2 (2.0~2.15).