mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-23 15:38:27 +01:00
Translate database into V3 advisory format (#420)
As proposed in #240 and tracked in #414, this PR translates all advisories into the new "V3" advisory format, which is based on Markdown with leading TOML front matter. This format makes it easier to see rendered Markdown syntax descriptions, whether rendered by an IDE or GitHub. This should help with both crafting advisories initially as well as review, and ideally encourages more lengthy descriptions. Support for this format shipped in `cargo-audit` v0.12.0 on May 6th, 2020.
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
```toml
|
||||
[advisory]
|
||||
categories = ["denial-of-service", "memory-corruption"]
|
||||
date = "2020-01-16"
|
||||
id = "RUSTSEC-2020-0002"
|
||||
package = "prost"
|
||||
date = "2020-01-16"
|
||||
title = "Parsing a specially crafted message can result in a stack overflow"
|
||||
url = "https://github.com/danburkert/prost/issues/267"
|
||||
categories = ["denial-of-service", "memory-corruption"]
|
||||
keywords = ["stack overflow"]
|
||||
description = """
|
||||
url = "https://github.com/danburkert/prost/issues/267"
|
||||
|
||||
[versions]
|
||||
patched = [">= 0.6.1"]
|
||||
```
|
||||
|
||||
# Parsing a specially crafted message can result in a stack overflow
|
||||
|
||||
Affected versions of this crate contained a bug in which decoding untrusted
|
||||
input could overflow the stack.
|
||||
|
||||
@@ -16,7 +22,3 @@ overflowing the stack is unsound and can result in potential memory corruption
|
||||
(or even RCE).
|
||||
|
||||
The flaw was quickly corrected by @danburkert and released in version 0.6.1.
|
||||
"""
|
||||
|
||||
[versions]
|
||||
patched = [">= 0.6.1"]
|
||||
Reference in New Issue
Block a user