Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protection against Log4J 1.x CVEs #8

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sl-cloud-platform
Copy link

Add protection against CVE-2019-17571 and CVE-2021-4104

This agent is based on https://github.com/corretto/hotpatch-for-apache-log4j2 and extends the agent to be working with Log4J 1.x:

The CVE-2019-17571 --> (Log4j 1.2 is a SocketServer class that is vulnerable to deserialization) & CVE-2021-4104 --> (JMSAppender in Log4j 1.x is vulnerable to deserialization of untrusted data) are patched by emptying the classes that are responsible for the RCE-Exploit.
Thus any exploit attempt is rendered useless.

Java Applications containing vulnerable versions of the Log4J libraries that cannot be upgraded for any reason can be considered safe against the provided CVEs above.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant