Vulnerability DatabaseRUSTSEC-2021-0035

RUSTSEC-2021-0035
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the quinn crate before version 0.7.0 for Rust, identified as RUSTSEC-2021-0035. The vulnerability was related to invalid memory access that could occur with certain versions of the standard library due to direct casting of std::net::SocketAddrV4 and std::net::SocketAddrV6 data structures (NVD).

Technical details

The vulnerability stems from an incorrect assumption about the memory layout of std::net::SocketAddrV4 and std::net::SocketAddrV6 structures. The quinn crate directly cast these structures, assuming they matched the libc sockaddr_in layout, which was never guaranteed by the Rust standard library. The issue has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability could lead to invalid memory access when using certain versions of the Rust standard library, potentially exposing sensitive information through memory access violations (NVD).

Exploitability

The vulnerability is network-accessible (AV:N) with low attack complexity (AC:L) and requires no privileges (PR:N) or user interaction (UI:N). The scope is unchanged (S:U), with potential for high confidentiality impact (C:H) but no impact on integrity (I:N) or availability (A:N) (NVD).

Mitigation and workarounds

Users should upgrade to quinn crate version 0.7.0 or later, which contains the fix for this vulnerability (NVD).

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

CVE-2026-68537HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
CVE-2026-68523HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
RUSTSEC-2026-0289NONEN/A
  • Rust logoRust
  • pqc_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0287NONEN/A
  • Rust logoRust
  • cosmian_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0286NONEN/A
  • Rust logoRust
  • cryptoki
NoYesSep 16, 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