You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Ferenc Szabo (JIRA)" <ji...@apache.org> on 2017/07/19 19:01:00 UTC

[jira] [Commented] (FLUME-3131) Upgrade spring framework library dependencies

    [ https://issues.apache.org/jira/browse/FLUME-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093618#comment-16093618 ] 

Ferenc Szabo commented on FLUME-3131:
-------------------------------------

[~sati]
In this case I would recommend to change the activemq dependency to have a test scope because it is only used in one test, than the vulnerability is not going to be present in production.
For the `javax.jms.*` packages use the following dependency:
{code}
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jms_1.1_spec</artifactId>
      <version>1.1.1</version>
    </dependency>
{code}


> Upgrade spring framework library dependencies
> ---------------------------------------------
>
>                 Key: FLUME-3131
>                 URL: https://issues.apache.org/jira/browse/FLUME-3131
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Attila Simon
>            Priority: Critical
>              Labels: dependency
>             Fix For: 1.8.0
>
>
> ||Group||Artifact||Version used||Upgrade target||
> |org.springframework|spring-aop|3.0.7.RELEASE|4.3.9.RELEASE,|
> |org.springframework|spring-context|3.0.7.RELEASE|4.3.9.RELEASE,|
> |org.springframework|spring-core|3.0.7.RELEASE|4.3.9.RELEASE,|
> Security vulnerability: https://www.cvedetails.com/vulnerability-list/vendor_id-9664/product_id-17274/Springsource-Spring-Framework.html
> Maven repositories: 
> - https://mvnrepository.com/artifact/org.springframework/spring-aop
> - https://mvnrepository.com/artifact/org.springframework/spring-context
> - https://mvnrepository.com/artifact/org.springframework/spring-core
> Please do:
> - CVE might be a false alarm or mistake. Please double check.
> - double check the newest version. 
> - consider to remove a dependency if better alternative is available.
> - check whether the lib change would introduce a backward incompatibility (in which case please add this label `breaking_change` and fix version should be the next major)
> Excerpt from mvn dependency:tree
> {noformat}
> org.apache.flume.flume-ng-sources:flume-jms-source:jar:1.8.0-SNAPSHOT
> \- org.apache.activemq:activemq-core:jar:5.7.0:provided
>    +- org.springframework:spring-context:jar:3.0.7.RELEASE:provided
>    |  +- org.springframework:spring-aop:jar:3.0.7.RELEASE:provided
>    |  +- org.springframework:spring-beans:jar:3.0.7.RELEASE:provided
>    |  +- org.springframework:spring-core:jar:3.0.7.RELEASE:provided
>    |  +- org.springframework:spring-expression:jar:3.0.7.RELEASE:provided
>    |  \- org.springframework:spring-asm:jar:3.0.7.RELEASE:provided
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)