Update RUSTSEC-2019-0024.md (#1464)

This commit is contained in:
Sergey "Shnatsel" Davidoff
2022-11-05 18:45:24 +01:00
committed by GitHub
parent 513609341f
commit e3e6897754

View File

@@ -7,6 +7,7 @@ url = "https://github.com/RustSec/advisory-db/issues/158"
[versions]
patched = [">= 1.0.0"]
unaffected = ["< 0.0.1"]
```
# Test advisory with associated example crate
@@ -17,13 +18,12 @@ against an example crate, it is otherwise considered by the Advisory Database
itself to be a normal security advisory.
It's filed against `rustsec-example-crate`, an otherwise completely empty crate
with no functionality or code, which has two releases:
with no functionality or code, which has three releases:
- [v0.0.0] - *unaffected* by this advisory (but *yanked* from crates.io)
- [v0.0.1] - *vulnerable* according to this advisory
- [v1.0.0] - *patched* by this advisory
(Technically there is a third release, v0.0.0, which is yanked, but otherwise
identical to the v0.0.1 release)
[v0.0.0]: https://crates.io/crates/rustsec-example-crate/0.0.0
[v0.0.1]: https://crates.io/crates/rustsec-example-crate/0.0.1
[v1.0.0]: https://crates.io/crates/rustsec-example-crate/1.0.0