Rust advisories / rustsec-example-crate
VulnerabilityRUSTSEC-2019-0024 · rustsec-example-crate
RUSTSEC-2019-0024: Test advisory with associated example crate
Short answerA security vulnerability in the rustsec-example-crate crate: Test advisory with associated example crate. No severity score was published. Fixed in 1.0.0: update to a fixed version.
| Crate | rustsec-example-crate |
|---|---|
| Type | Vulnerability |
| Affected versions | From 0.0.1 before 1.0.0. |
| Fixed in | 1.0.0 |
| Severity | not scored |
| Published | 2019-10-08 |
| Last changed | 2022-11-05 |
| Also known as | none |
What to do
- See which version you have:
cargo tree -i rustsec-example-crate(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p rustsec-example-crate. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplerustsec-example-crate = "1.0.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
This is a test advisory useful for verifying RustSec tooling and vulnerability detection pipelines are working correctly. Aside from the fact that it is filed 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 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
References
- Package: crates.io/crates/rustsec-example-crate
- Advisory: rustsec.org/advisories/RUSTSEC-2019-0024.html
- Report: github.com/RustSec/advisory-db/issues/158
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?