Rust advisories / orion
Vulnerability HighRUSTSEC-2018-0012 · orion
RUSTSEC-2018-0012: Flaw in streaming state reset() functions can create incorrect results.
Short answerA security vulnerability in the orion crate: Flaw in streaming state reset() functions can create incorrect results.. High severity (CVSS 7.5). Fixed in 0.11.2: update to a fixed version.
| Crate | orion |
|---|---|
| Type | Vulnerability |
| Affected versions | Before 0.11.2. |
| Fixed in | 0.11.2 |
| Severity | High, CVSS 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2018-12-20 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2018-20999, GHSA-gffv-5hr2-f9gj |
What to do
- See which version you have:
cargo tree -i orion(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p orion. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleorion = "0.11.2") 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
Affected versions of this crate did not properly reset a streaming state.
Resetting a streaming state, without finalising it first, creates incorrect results.
The flaw was corrected by not first checking if the state had already been reset, when calling reset().
References
- Package: crates.io/crates/orion
- Advisory: rustsec.org/advisories/RUSTSEC-2018-0012.html
- Report: github.com/brycx/orion/issues/46
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?