I'm trying to use artifact that is on mvnrepository
https://mvnrepository.com/artifact/org.apache.commons/commons-collections4/4.4
As you can see [test dependencies], JUnit 4.12 has a vulnerability and has red warning sign.
I've downloaded this artifact via Gradle and inspected the external library. I found that pom.xml on commons-collections4 has test dependency for JUnit 4.12 actually.
Is it safe to use an artifact that has vulnerability on test dependency?
CodePudding user response: