SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedGameplay & overhauls

Healer

by glease · for Minecraft

Patch up CVE-2021-44228 for minecraft forge 1.7.10 - 1.12.2

157KDownloads
23 mo agoLast updated
MITLicense
ForgeLoaders

About Healer

From Modrinth

Patch up CVE-2021-44228 for minecraft forge 1.7.10 - 1.12.2

Patch up security vulnerbility CVE-2021-44228 (also known as Log4Shell) for minecraft forge 1.7.10 - 1.12.2, by removing JNDI lookup from Interpolator using reflection and replace the default LoggerContextFactory to catch any LoggerContext loaded after this mod. For more specific technical explainations on how I patched it, please refer to the source code instead.

Currently only works for minecraft 1.12 and before. Tested on 1.7.10 and 1.12.2.

Compatibility

If any mod tries to programatically tweak logging configuration, they will fail miserably due to the exhaustive patching. To fix this, healer postpones the patching late enough, until said mods are done with their editing.

As of date, healer has built in support for these mods.

  • ForgeEssentials

If you have other mods crashing with log lines like ClassCastException: cannot cast XXXXXXXX to org.apache.logging.log4j.core.impl.Log4jContextFactory, then you have step on one of these mods.

To fix this, complain at my issue tracker, or add -Dnet.glease.healer.patch_stage=XXXX to your JVM launch argument, where XXXX can be any of PRELOAD, PREINIT, INIT, POSTINIT (in time order, with earliest as the first). PREINIT is usually enough to mitigate the problem, POSTINIT should be enough to fix all problem.

To ordinary players

  1. If your launcher has patched this already, you will not need this mod to patch the vulnerability.
  2. If you applied mojang's fix, you will not need this mod to patch the vulnerability.
  3. If you have FoamFix for 1.7, you will not need this mod to patch the vulnerability.
  4. If you have used other fixing mods, ask their original authors if they can "catch any LoggerContext loaded after their mod", if yes, you will not need this mod. Otherwise, replace that mod with this mod, or use a launcher that does patching for you, e.g. MultiMC.

To modpack makers

  1. I suggest you to include this mod in your client pack, if it is intended for minecraft 1.7~1.12.2. This will protect your users who is still not aware of this and happen to use a launcher that hasn't patched this.
  2. If you also distribute a server pack, and it is intended for minecraft 1.7~1.12.2, adding this mod is not necessary if you applied mojang's fix. However, since many people don't use the StartServer.bat (or something alike) that come with your server pack, chances are they will not use mojang's fixed log4j2.xml. Technically you should not distribute an edited minecraft_server-1.7.10.jar, so adding this jar would be the most straightfoward way of ensuring the user getting a fix.

Highlights

From source data

Game versions

Supports 230 Minecraft versions, the newest being 1.12.2.

Loaders

Runs on Forge.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Works on a server

From source side support

Modrinth lists server-side support for Healer as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Minecraft
Loaders
Forge
Runs on
Serveroptional on the server
Game versions
1.12.2 and 229 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓Authorglease, as published on Modrinth
  • ✓LicenseMITFree

Healer, answered

Generated from the mod’s own source data.

Do my players need to install Healer?

Modrinth lists server-side support for Healer as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

Forge.

Is it free?

Yes. Healer is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Healer on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Healer in one click.