[ 
https://issues.apache.org/jira/browse/BEAM-11055?focusedWorklogId=508585&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-508585
 ]

ASF GitHub Bot logged work on BEAM-11055:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Nov/20 20:03
            Start Date: 06/Nov/20 20:03
    Worklog Time Spent: 10m 
      Work Description: suztomo edited a comment on pull request #13073:
URL: https://github.com/apache/beam/pull/13073#issuecomment-723201549


   @iemejia 
   
   > Can you spot which dependency is overwriting the version ?
   
   BeamModulePlugin.groovy `force`s the library version listed in the file.
   
   ```
       def log4j_version = "2.13.3"
   ...
           log4j_core                                  : 
"org.apache.logging.log4j:log4j-core:$log4j_version",
   ...
             config.resolutionStrategy {
   ...
               def librariesWithVersion = project.library.java.values().findAll 
{ it.split(':').size() > 2 }
               force librariesWithVersion
             }
   ```
   
   
   log4j-api-2.4.1.jar has the missing class, while log4j-api-2.13.3.jar does 
not have it.
   
   ```
   suztomo-macbookpro44% jar tf log4j-api-2.4.1.jar |grep Reflection
   org/apache/logging/log4j/util/ReflectionUtil$PrivateSecurityManager.class
   org/apache/logging/log4j/util/ReflectionUtil.class
   suztomo-macbookpro44% jar tf log4j-api-2.13.3.jar |grep Reflection
   suztomo-macbookpro44% 
   ```
   
   


----------------------------------------------------------------
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: 508585)
    Time Spent: 5h 10m  (was: 5h)

> Update log4j to version 2.13.3
> ------------------------------
>
>                 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: P2
>          Time Spent: 5h 10m
>  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)

Reply via email to