-
Notifications
You must be signed in to change notification settings - Fork 434
Description
The following example surprised me: the traitobject crate currently only gets flagged by cargo audit with an unsound warning (RUSTSEC-2020-0027), despite also having a critical CVE (CVE-2020-35881).
It looks like the aliasing CVE was published many months after the RustSec advisory was issued. The RustSec advisory was eventually updated to link to the CVE (along with many others: #542).
There is a larger (stalled?) discussion (#313) about the RustSec project's operational definition of "security vulnerability". However, for purposes of security automation, I'd like to split off a narrow suggestion: if a CVE alises an informational RustSec advisory, then that advisory should be effectively "promoted" to have type "Vulnerability".
Some ideas for implementing this "effective promotion":
- Remove the
informationalkey in the advisory (is this sufficient?) - Issue a new, non-informational advisory
- Add a
cargo auditflag that locally enables this effective promotion, via something like--deny cve.