Skip to content

Commit eb1f940

Browse files
committed
Add missing fields in example advisory
1 parent 6b4a28c commit eb1f940

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

EXAMPLE_ADVISORY.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,29 @@
33
id = "RUSTSEC-0000-0000"
44
package = "crate-name"
55
date = "2020-01-31"
6+
#withdrawn = "YYYY-MM-DD"
67
url = "https://example.com"
8+
#references = ["https://github.com/mystuff/mycrate/discussions/1"]
9+
#informational = "unmaintained"
710
# Valid categories: "code-execution", "crypto-failure", "denial-of-service", "file-disclosure"
811
# "format-injection", "memory-corruption", "memory-exposure", "privilege-escalation"
912
categories = ["code-execution", "privilege-escalation"]
13+
#cvss = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
1014
keywords = ["example", "freeform", "keywords"]
1115
#aliases = ["CVE-YYYY-NNNN"]
12-
#cvss = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
13-
14-
[versions]
15-
patched = [">= 1.2.3, < 1.3.0", ">= 1.3.4"]
16-
unaffected = ["<= 0.1.2"]
16+
#related = []
17+
#license = "CC0-1.0"
1718

1819
[affected]
1920
#arch = ["x86"]
2021
#os = ["windows"]
2122

2223
#[affected.functions]
2324
#"crate_name::MyStruct::vulnerable_fn" = [">= 1.3.0, < 1.3.4"]
25+
26+
[versions]
27+
patched = [">= 1.2.3, < 1.3.0", ">= 1.3.4"]
28+
unaffected = ["<= 0.1.2"]
2429
```
2530

2631
# RustSec Advisory Template - Advisory Title Goes Here

0 commit comments

Comments
 (0)