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

Security: remove use log of log4j v1 #12425

Closed
pjfanning opened this issue Apr 11, 2022 · 3 comments · Fixed by #15984
Closed

Security: remove use log of log4j v1 #12425

pjfanning opened this issue Apr 11, 2022 · 3 comments · Fixed by #15984

Comments

@pjfanning
Copy link
Contributor

Description

log4j v1 is end of life and full of security issues

Can you upgrade log4j v2.17.x or reload4j?

  • indexing-hadoop/pom.xml
  • extensions-core/hdfs-storage/pom.xml

Motivation

Please provide the following for the desired feature or change:

  • A detailed description of the intended use case, if applicable
  • Rationale for why the desired feature/change would be beneficial
@pjfanning pjfanning changed the title remove use log of log4j v1 Security: remove use log of log4j v1 Apr 12, 2022
@FrankChen021
Copy link
Member

The log4j v1 used by these two libs is introduced by #11794. And they're used for test profile only. So I think it does not cause any security problems.

I don't know if it's possible to remove it or upgrade it to log4j2. What do you think ? @cryptoe

@cryptoe
Copy link
Contributor

cryptoe commented Apr 18, 2022

Let's try to bump it to log4j2 and look at the travis runs.

@murari-goswami
Copy link

The log4j v1 is in use for below transitive dependency other than the tests. Can we please bump this up to have a fix to get the CVE fix.

+- org.apache.ranger:ranger-plugins-common:jar:2.0.0:compile
| +- log4j:log4j:jar:1.2.17:compile

+- org.apache.hive.shims:hive-shims-0.23:jar:3.1.3:runtime
- org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:3.1.0:runtime
+- log4j:log4j:jar:1.2.17:runtime

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

Successfully merging a pull request may close this issue.

4 participants