Vulnerability DatabaseRUSTSEC-2020-0058

RUSTSEC-2020-0058
Rust vulnerability analysis and mitigation

Overview

RUSTSEC-2020-0058 is a vulnerability related to the renaming of the stream-cipher crate to the unified cipher crate in the Rust cryptography ecosystem. The vulnerability was disclosed in October 2020 as part of a larger effort to unify the block-cipher and stream-cipher crates into a single cipher crate (RustCrypto PR).

Technical details

The vulnerability stems from a significant architectural change where the stream-cipher functionality was moved to become a module within the new unified cipher crate. The code was relocated to the cipher::stream module, requiring users to update their dependencies and code references accordingly (RustCrypto PR).

Impact

The impact is primarily on dependency management and code maintenance. Projects using the old stream-cipher crate need to update their dependencies to use the new unified cipher crate and modify their code to reference the correct modules (RustCrypto PR).

Mitigation and workarounds

To remediate this issue, users need to replace all usages of the stream-cipher crate with the new unified cipher crate. Specifically, code should be updated to use cipher::stream instead of the previous stream-cipher imports. This is intended to be a drop-in replacement requiring minimal code changes (RustCrypto PR).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-5x78-73v4-xg6wHIGH8.7
  • Rust logoRust
  • postgres-protocol
NoYesAug 24, 2026
GHSA-fx4f-mhw4-qm7jMEDIUM6.9
  • Rust logoRust
  • vibeio-http
NoYesAug 24, 2026
GHSA-3gjw-f78c-vvpwMEDIUM6.9
  • Rust logoRust
  • tokio-postgres
NoYesAug 24, 2026
GHSA-rgqc-3x5p-6gwgMEDIUM6.9
  • Rust logoRust
  • postgres-protocol
NoYesAug 24, 2026
RUSTSEC-2026-0267NONEN/A
  • Rust logoRust
  • stable-vec
NoYesAug 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management