Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/winnpixie/log4noshell
A Java Agent that disables Apache Log4J's JNDI Lookup to mitigate CVE-2021-44228 ("Log4Shell").
https://github.com/winnpixie/log4noshell
apache cve log4j patch security vulnerability
Last synced: 22 days ago
JSON representation
A Java Agent that disables Apache Log4J's JNDI Lookup to mitigate CVE-2021-44228 ("Log4Shell").
- Host: GitHub
- URL: https://github.com/winnpixie/log4noshell
- Owner: winnpixie
- License: mit
- Created: 2021-12-10T21:59:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T11:27:40.000Z (7 months ago)
- Last Synced: 2024-08-05T17:35:47.193Z (4 months ago)
- Topics: apache, cve, log4j, patch, security, vulnerability
- Language: Java
- Homepage: https://nvd.nist.gov/vuln/detail/CVE-2021-44228
- Size: 1.59 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - winnpixie/log4noshell - A Java Agent that disables Apache Log4J's JNDI Lookup to mitigate CVE-2021-44228 ("Log4Shell"). (Java)
README
# Log4NoShell
A Java Agent that disables Apache Log4J's JNDI Lookup to mitigate [CVE-2021-44228](https://nvd.nist.gov/vuln/detail/CVE-2021-44228) ("Log4Shell").If possible, update your program to use the latest Log4J version, as the vulnerability is fixed as of version *2.17.1*.
Otherwise, download [log4noshell-1.0.jar](log4noshell-1.0.jar) and continue reading.## Usage
To use Java Agents, you must specify them with the `-javaagent` argument. \
`java -javaagent:path/to/log4noshell-1.0.jar -jar Program.jar`### **Minecraft**
Please read [Mojang's response](https://www.minecraft.net/en-us/article/important-message--security-vulnerability-java-edition)
to determine if you might need this patcher.- Client:
1. Go to the *Installations* tab in the launcher
2. Click on the **three dots** on the **right** side of the version you'd like to use
3. Click *Edit*
4. Scroll down and click on *More Options*
5. Add `-javaagent:path/to/log4noshell-1.0.jar` to the *JVM Arguments* text-field
- `-javaagent:path/to/log4noshell-1.0.jar -Xms2G -Xms2G...`
6. Click *Save*
- Server:
1. Add `-javaagent:path/to/log4noshell-1.0.jar` somewhere before the `-jar` in your launch/start/run command
- `java -javaagent:path/to/log4noshell-1.0.jar -jar minecraft_server.jar`