Hi team,

As far as I'm aware Kudu doesn't have automated CVE scanning for the
dependencies it uses (either C++ or Java). Please correct me if I'm wrong.

Github has Dependabot, which covers the Java side of things, however it
can't really deal with our C++ setup (Dependabot only works with package
managers e.g. maven or Gradle, for C++ it only supports vcpkg). Dependabot
opens PRs to fix the CVEs, however merging from both Gerrit and Github
would inevitably cause some fun rebase/merge issues.

A possible solution for utilizing Dependabot would be to set up GitHub
Actions that could open Gerrit CRs based on the Dependabot GitHub PRs.
Resolving the PRs would still be a manual task. In order to cover the C++
parts, we could implement some simple heuristics, maybe scanning vars.sh
and doing a lookup of the latest versions and some search result parsing
from osv.dev or something like that.

Let me know what do you think, or if you have any further ideas on how to
resolve this. Maybe there are some freely available scanners that work with
Gerrit.

Best regards,
Zoltan

Reply via email to