CPE generation attributes the umbrella project's product to unrelated artifacts under a nested groupIDs
What happened:
any groupid segment that prefixes or suffixes the artifactid becomes a cpe product, even when the artifact only exists under that namespace, for example, org.eclipse.jetty.toolchain is a resource-only xsd/dtd bundle with 0 class files, but it still gets cpe:2.3:a:eclipse, which NVD uses for eclipse jetty server, so it inherits the server's full cve history, its 5.x ver also falls below every jetty constraint, so no upgrade can clear it
this also affects jetty-setuid-java, infinispan- glue* jars, hadoop-shaded-*, and others
What you expected to happen:
artifacts that only live under a project namespace should be identified by their own artifactid, while genuine components like org.eclipse.jetty, org.eclipse.jetty.ee10, and org.apache.tomcat.embed should keep the umbrella product
Steps to reproduce the issue:
Anything else we need to know?:
Environment:
- Output of
syft version: latest - OS (e.g:
cat /etc/os-releaseor similar): latest
Source: anchore/syft