-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FP]: use a negative rule for cpe:2.3:a:grpc:grpc:*:*:*:*:*:*:*:* suppression matching for Maven artifacts #7250
Comments
Error parsing package url: pkg:maven/(?!io.grpc/).*. Error: Error: Invalid purl: maven requires a "namespace" component Please correct the package URL - consider copying the package url from the HTML report. |
Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/12322881944 |
Error parsing package url: pkg:maven/(?!io.grpc/).*. Error: Error: Invalid purl: maven requires a "namespace" component Please correct the package URL - consider copying the package url from the HTML report. |
Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/12322890605 |
Error parsing package url: pkg:maven/(?!io.grpc/).*. Error: Error: Invalid purl: maven requires a "namespace" component Please correct the package URL - consider copying the package url from the HTML report. |
Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/12322911311 |
I'm more than willing to do the PR here etc. if that's of any use. |
@FyiurAmron Thanks for the suggestion. Negative rule suppression has been prepared in the source for the hostedSuppressions, keeping ticket open until a workflow has run that publishes it. |
Suppression now also published in the hostedSuppressions |
Package URl
pkg:maven/(?!io.grpc/).*
CPE
cpe:2.3:a:grpc:grpc::::::::
CVE
multiple
ODC Integration
{"label"=>"Gradle Plugin"}
ODC Version
11.1.1
Description
I propose using a negative regex in a suppression rule for gRPC. We already had numerous FPs for this one, because having
grpc
in a package name is relatively common in the wild. OTOH, the CPEs usinggrpc
in the co-ord are limited toio.grpc
group in Maven ecosystem. The benefit of switching would be twofold:Example rule:
We do have a precedent of having this kind of rules in the base suppression file, so I think changing this would be reasonable.
The text was updated successfully, but these errors were encountered: