From 79fd13ac6f465e2de06292e00de2436678c8b172 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 21 Jul 2018 15:22:36 -0700 Subject: [PATCH] crates: Add 'id' attribute to all advisories This is needed to parse them with serde directly from these files (as opposed to using Advisories.toml) --- crates/base64/RUSTSEC-2017-0004.toml | 1 + crates/cookie/RUSTSEC-2017-0005.toml | 1 + crates/hyper/RUSTSEC-2017-0002.toml | 1 + crates/security-framework/RUSTSEC-2017-0003.toml | 1 + crates/smallvec/RUSTSEC-2018-0003.toml | 1 + crates/sodiumoxide/RUSTSEC-2017-0001.toml | 1 + crates/untrusted/RUSTSEC-2018-0001.toml | 1 + 7 files changed, 7 insertions(+) diff --git a/crates/base64/RUSTSEC-2017-0004.toml b/crates/base64/RUSTSEC-2017-0004.toml index d995384..8d4ec2d 100644 --- a/crates/base64/RUSTSEC-2017-0004.toml +++ b/crates/base64/RUSTSEC-2017-0004.toml @@ -1,4 +1,5 @@ [advisory] +id = "RUSTSEC-2017-0004" package = "base64" patched_versions = [">= 0.5.2"] dwf = ["CVE-2017-1000430"] diff --git a/crates/cookie/RUSTSEC-2017-0005.toml b/crates/cookie/RUSTSEC-2017-0005.toml index 2c0601d..8de5948 100644 --- a/crates/cookie/RUSTSEC-2017-0005.toml +++ b/crates/cookie/RUSTSEC-2017-0005.toml @@ -1,4 +1,5 @@ [advisory] +id = "RUSTSEC-2017-0005" package = "cookie" patched_versions = ["< 0.6.0", "^0.6.2", ">= 0.7.6"] dwf = [] diff --git a/crates/hyper/RUSTSEC-2017-0002.toml b/crates/hyper/RUSTSEC-2017-0002.toml index bc23c50..5efb42c 100644 --- a/crates/hyper/RUSTSEC-2017-0002.toml +++ b/crates/hyper/RUSTSEC-2017-0002.toml @@ -1,4 +1,5 @@ [advisory] +id = "RUSTSEC-2017-0002" package = "hyper" patched_versions = [">= 0.10.2", "< 0.10.0, >= 0.9.18"] dwf = [] diff --git a/crates/security-framework/RUSTSEC-2017-0003.toml b/crates/security-framework/RUSTSEC-2017-0003.toml index d4e8e63..f1d502f 100644 --- a/crates/security-framework/RUSTSEC-2017-0003.toml +++ b/crates/security-framework/RUSTSEC-2017-0003.toml @@ -1,4 +1,5 @@ [advisory] +id = "RUSTSEC-2017-0003" package = "security-framework" patched_versions = [">= 0.1.12"] dwf = [] diff --git a/crates/smallvec/RUSTSEC-2018-0003.toml b/crates/smallvec/RUSTSEC-2018-0003.toml index b719309..ea212ef 100644 --- a/crates/smallvec/RUSTSEC-2018-0003.toml +++ b/crates/smallvec/RUSTSEC-2018-0003.toml @@ -1,4 +1,5 @@ [advisory] +id = "RUSTSEC-2018-0003" package = "smallvec" unaffected_versions = ["< 0.3.2"] patched_versions = [">= 0.6.3", "^0.3.4", "^0.4.5", "^0.5.1"] diff --git a/crates/sodiumoxide/RUSTSEC-2017-0001.toml b/crates/sodiumoxide/RUSTSEC-2017-0001.toml index 8f77ea4..2b2df35 100644 --- a/crates/sodiumoxide/RUSTSEC-2017-0001.toml +++ b/crates/sodiumoxide/RUSTSEC-2017-0001.toml @@ -1,4 +1,5 @@ [advisory] +id = "RUSTSEC-2017-0001" package = "sodiumoxide" patched_versions = [">= 0.0.14"] dwf = ["CVE-2017-1000168"] diff --git a/crates/untrusted/RUSTSEC-2018-0001.toml b/crates/untrusted/RUSTSEC-2018-0001.toml index 6e3cc11..3d9b3f5 100644 --- a/crates/untrusted/RUSTSEC-2018-0001.toml +++ b/crates/untrusted/RUSTSEC-2018-0001.toml @@ -1,4 +1,5 @@ [advisory] +id = "RUSTSEC-2018-0001" package = "untrusted" unaffected_versions = [] patched_versions = [">= 0.6.2"]