[
https://issues.apache.org/jira/browse/BEAM-11055?focusedWorklogId=594589&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-594589
]
ASF GitHub Bot logged work on BEAM-11055:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 11/May/21 15:45
Start Date: 11/May/21 15:45
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on a change in pull request
#14777:
URL: https://github.com/apache/beam/pull/14777#discussion_r630299985
##########
File path: sdks/java/io/hadoop-format/build.gradle
##########
@@ -96,7 +96,6 @@ dependencies {
testCompile library.java.hamcrest_library
testCompile library.java.testcontainers_postgresql
testCompile library.java.netty_all
- testRuntimeOnly library.java.log4j_core
Review comment:
It seems adding log4j-api to the library was the root cause of this
issue. This forced dependency resolution to go to 2.14.1 for the runtime
dependency in GrpcVendoring, which was reflected in any downstream shaded jars
(e.g. the SDK harness).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 594589)
Time Spent: 15h 40m (was: 15.5h)
> Update log4j to version 2.14.1
> ------------------------------
>
> Key: BEAM-11055
> URL: https://issues.apache.org/jira/browse/BEAM-11055
> Project: Beam
> Issue Type: Improvement
> Components: build-system, io-java-elasticsearch
> Reporter: Ismaël Mejía
> Assignee: Ismaël Mejía
> Priority: P3
> Fix For: 2.30.0
>
> Time Spent: 15h 40m
> Remaining Estimate: 0h
>
> Beam uses a version of log4j that is reported by some security tools to have
> some security issues. Notice that Beam's use of log4j should not be impacted
> by the issue.
> See [https://nvd.nist.gov/vuln/detail/CVE-2017-5645]
> The update in the vendored grpc module is to ensure it gets updated too in a
> future release of our vendored dependencies. Notice that this is a runtime
> dep for users so they are free to provide their own version so less of an
> issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)