mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-30 16:24:05 +01:00
Merge pull request #2 from RustSec/unaffected-and-patched-versions
Separate "unaffected_versions" and "patched_versions"
This commit is contained in:
@@ -13,7 +13,12 @@ Each advisory contains information in [TOML] format:
|
||||
```toml
|
||||
[vulnerability]
|
||||
package = "mypackage"
|
||||
versions = ["1.2.0", "1.2.3", "1.2.4", "1.2.5"]
|
||||
|
||||
# Versions which were never vulnerable
|
||||
unaffected_versions = ["< 1.1.0"]
|
||||
|
||||
# Versions which include fixes for this vulnerability
|
||||
patched_versions = [">= 1.2.0"]
|
||||
|
||||
# It is strongly recommended to request a CVE, or alternatively a DWF, and
|
||||
# reference the assigned number here.
|
||||
|
||||
Reference in New Issue
Block a user