Skip to content

Conversation

@FlorianFreudiger
Copy link
Contributor

Use CreeperHost/Log4jPatcher to patch the Log4Shell vulnerability for server types and versions that are not covered by existing measures. See #2101 for some of the affected versions.

The patcher is being applied for all server types between Minecraft version 1.7 - 1.18.0 (inclusive), even though server types VANILLA and PURPUR are already covered by their patched log4j configurations.
Alternatively it could be set up to only cover server types excluding unaffected server types, however in my limited testing the additional patching does not appear to cause any side effects.

As requested a SKIP_LOG4J_PATCHER environment variable has been introduced to skip the patching, it will default to false if not specified. This should probably be added to the documentation.

fixes #2101

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

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

Thanks!

@itzg itzg merged commit bab381d into itzg:master May 28, 2023
adamancini pushed a commit to adamancini/docker-minecraft-server that referenced this pull request Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bukkit 1.7.10 and many other outdated Bukkit, Paper versions still seem to be vulnerable by Log4Shell

2 participants