@@ -24,7 +24,10 @@ See [CONTRIBUTING.md] for more information.
24
24
25
25
## Advisory Format
26
26
27
- Each advisory contains information in [ TOML] format:
27
+ See [ EXAMPLE_ADVISORY.md] for a template.
28
+
29
+ Advisories are formatted in [ Markdown] with [ TOML] "front matter".
30
+ Below is the scehma of the "front matter" section of an advisory:
28
31
29
32
``` toml
30
33
# Before you submit a PR using this template, **please delete the comments**
@@ -41,9 +44,6 @@ package = "mycrate"
41
44
# Disclosure date of the advisory as an RFC 3339 date (mandatory)
42
45
date = " 2019-10-01"
43
46
44
- # Single-line description of a vulnerability (mandatory)
45
- title = " Flaw in X allows Y"
46
-
47
47
# URL to a long-form description of this issue, e.g. a GitHub issue/PR,
48
48
# a change log entry, or a blogpost announcing the release (optional)
49
49
url = " https://github.com/mystuff/mycrate/issues/123"
@@ -68,15 +68,6 @@ keywords = ["ssl", "mitm"]
68
68
# e.g. CVE for a C library wrapped by a -sys crate)
69
69
# references = ["CVE-2018-YYYY", "CVE-2018-ZZZZ"]
70
70
71
- # Enter a short-form description of the vulnerability here (mandatory)
72
- description = """
73
- Affected versions of this crate did not properly X.
74
-
75
- This allows an attacker to Y.
76
-
77
- The flaw was corrected by Z.
78
- """
79
-
80
71
# Optional: metadata which narrows the scope of what this advisory affects
81
72
[affected ]
82
73
# CPU architectures impacted by this vulnerability (optional).
@@ -124,6 +115,8 @@ All content in this repository is placed in the public domain.
124
115
125
116
[ // ] : # ( general links )
126
117
118
+ [ EXAMPLE_ADVISORY.md ] : https://github.com/RustSec/advisory-db/blob/master/EXAMPLE_ADVISORY.md
119
+ [ Markdown ] : https://www.markdownguide.org/
127
120
[ TOML ] : https://github.com/toml-lang/toml
128
121
[ cargo-audit ] : https://github.com/rustsec/cargo-audit
129
122
[ cargo-deny ] : https://github.com/EmbarkStudios/cargo-deny
0 commit comments