CVE-2018-20999: Flaw in streaming state in orion
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.55713%
CWE
Published
8/25/2021
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
orion | rust | < 0.11.2 | 0.11.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability centers on improper state reset in streaming APIs. Cryptographic streaming primitives like Chacha20 and Poly1305 in Orion would logically require stateful operations with reset capabilities. The advisory specifically mentions incorrect results from reset-before-finalize patterns, which aligns with how these algorithms manage internal buffers and nonces. The high confidence comes from: 1) The CWE-682 classification indicating calculation errors 2) The reset()
function being explicitly mentioned in the advisory 3) Standard cryptographic library patterns where streaming APIs require careful state management 4) Historical precedent for similar vulnerabilities in streaming cipher implementations.