Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

transitively depending on vulnerable version of commons-collections #338

@jkremser

Description

@jkremser

for the builder-annotations dependency consider adding something like

                <exclusions>
                    <exclusion>
                        <groupId>commons-collections</groupId>
                        <artifactId>commons-collections</artifactId>
                    </exclusion>
                </exclusions>

and then bringing back the dependency

            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <scope>provided</scope>
                <version>3.2.2</version>
            </dependency>

Because currently your library is being reported by tools like snyk.io that are not smart enough to figure out that commons-collections in that broken 3.2.1 version will not end up at the class path at the end... the scope (provided) was declared in the parent pom and the tool wasn't probably good enough to get it.

see the screenshot:
https://i.imgur.com/ehUTAfU.png

same holds for:

  • com.fasterxml.jackson.core:jackson-databind:2.7.7
  • com.fasterxml.jackson.core:jackson-core:2.7.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions