Skip to content
Advertisement

Java Maven – CVE-2017-1000487 on plexus-utils-2.0.4.jar plexus-utils-3.0.10.jar

Small question regarding Java and maven please.

With a very simple project, reproducible 100%, with just this code snippet (please feel free to copy paste)

JavaScript

and running this simple command: (please feel free to run)

JavaScript

After feeding this to some static analysis (Black Duck, SonarQube, Dependency-check, etc…)

I am being flagged with this CVE:

CVE-2017-1000487 on two jars : plexus-utils-2.0.4.jar plexus-utils-3.0.10.jar

I am having a hard time understanding, since the output so far is:

JavaScript

And I do not see plexus-utils-3.0.10.jar in the dependency tree at all.

Question 1: Where is this plexus-utils-3.0.10.jar coming from? I do not have this dependency, and no one from the tree is pulling this dependency.

Question 2: May I ask how do I fix this CVE please? I am interesting in the process and steps of fixing this.

Thank you

Advertisement

Answer

Credits to khmarbaise, upgrading to the latest Maven clean plugin 3.2.0 does fix this issue.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement