[dependency_metadata] Allow descriptions for CVEs
This adds a new way to report CVEs that includes an accompanying description. It also adds a new validation check that ensures that the CVE description is present for every entry listed in the 'Mitigated:' field. Bug: b/392026683 Change-Id: Ie55595970b49d705ac532f1f8c41ff47d959f56c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6211644 Auto-Submit: Jordan Brown <rop@google.com> Reviewed-by: Jiewei Qian <qjw@chromium.org> Commit-Queue: Jiewei Qian <qjw@chromium.org>changes/44/6211644/39
parent
b48765e850
commit
e42fac3e9c
@ -0,0 +1,21 @@
|
||||
Name: Test dependency with mitigated CVEs
|
||||
Short Name: cve-test
|
||||
URL: https://www.example.com/metadata
|
||||
Version: 1.0.12
|
||||
Date: 2020-12-03
|
||||
License: MIT
|
||||
License File: LICENSE
|
||||
Security Critical: yes
|
||||
Shipped: yes
|
||||
CPEPrefix: unknown
|
||||
Mitigated: CVE-2011-4061, CVE-2024-7255 ,CVE-2024-7256
|
||||
CVE-2011-4061: This copy of DependencyA only includes rainbows
|
||||
that spill beautifully over multiple lines and are handled
|
||||
~~ Perfectly ~~
|
||||
Even: this line with colons that mentions CVE-2000-2000: an unrelated cve.
|
||||
CVE-2024-7255: This copy of DependencyA only includes unicorns
|
||||
CVE-2024-7256: This also doesn't apply because of good reasons
|
||||
Description: A test dependency with mitigated CVE entries.
|
||||
|
||||
Local Modifications:
|
||||
None.
|
Loading…
Reference in New Issue