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

Use reload4j instead of log4j #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oar-dbutton
Copy link

Apache log4j version 1.x is unsupported and has several known vulnerabilities. While these vulnerabilities are not exploitable within the context of MaDDash, vulnerability scanning tools, like Nessus, will still issues warnings about its use, creating an additional workload for system administration and security staff.

The commit included in this pull request aims to fix this issue by replacing log4j with reload4j. The reload4j library is a drop-in replacement for log4j version 1.x that is still supported and does not suffer from the vulnerabilities that log4j is known to have. The reload4j project has several well-known users and sponsors and is effectively a continuation of the log4j project. Please read more about the reload4j project here: https://reload4j.qos.ch/

This change has been tested in a small test setup consisting of several perfSONAR nodes and an archive/MaDDash server. All MaDDash logging functionality appears to be working correctly, and all other functionality appears to be working correctly as well.

Comments, questions, or concerns are welcome! Additionally, please let me know if this pull request should be opened against a different branch.

This fixes #103.

Version 1.x of the Apache `log4j` library has been unsupported for
several years and has a number of known vulnerabilities. While MaDDash
remains unaffected by these vulnerabilities, it will oftentimes still be
flagged by tools like Nessus, creating difficulties for system
administrators. This commit replaces all `log4j` dependencies in the
project with `reload4j`, a binary-compatible replacement for `log4j`
that is still supported and is free from vulnerabilities that `log4j` is
known to have. The `reload4j` project is essentially a continuation of
the `log4j` project and offers the exact same functionality. This commit
is intended to provide a simple means of transitioning away from `log4j`
version 1.x and its associated problems.

More details on `reload4j`: https://reload4j.qos.ch/
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.

Update log4j to the latest version
1 participant