Incorrect transitive dependencies for pkg:maven/commons-validator/[email protected] #5826
Closed
ishapirovArnica
started this conversation in
False Detection
Replies: 1 comment
-
Hello @ishapirovArnica I created #5827 for this task. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IDs
CVE-2019-10086
Description
Trivy incorrectly misses some transitive dependencies of the package
commons-validator:[email protected]
. One of these missing dependencies is the packagecommons-beanutils:[email protected]
which has the associated vulnerability CVE-2019-10086.If you view the pom.xml for the
commons-validator:[email protected]
you can see thecommons-beanutils:[email protected]
listed as a dependency.Reproduction Steps
mvn dependency:tree
on this file. You should see thecommons-beanutils:commons-beanutils:jar:1.9.2:compile
andcommons-logging:commons-logging:jar:1.2:compile
packages listed as dependencies of thecommons-validator:commons-validator
package.Output:
Execute
trivy fs --format cyclonedx --scanners vuln .
In the
dependencies
section find the ref for commons-validator:commons-validator (pkg:maven/commons-validator/[email protected]
). You will notice in thedependsOn
section that the refs for commons-beanutils:commons-beanutils and commons-logging:commons-logging aren't listed. These are the same packages present as dependencies in step 2 and in the link to the pom.xml file in the Description section.Output snippet for the commons-validator:commons-validator ref (full output shown below in the Debug Output section:
Target
Filesystem
Scanner
Vulnerability
Target OS
macOS Sonoma 14.0
Debug Output
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctBeta Was this translation helpful? Give feedback.
All reactions