Skip to content
Fencer Vulns
high 7.5

CVE-2021-28036 json

quinn invalidly assumes the memory layout of std::net::SocketAddr

published 2021-03-04 5 y ago modified 2026-06-17 4 mo ago also GHSA-fhv4-fx3v-77w6 , RUSTSEC-2021-0035 , EUVD-2021-1701

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 69%
public exploits
0
none known

Summary

An issue was discovered in the quinn crate before 0.7.0 for Rust. It may have invalid memory access for certain versions of the standard library because it relies on a direct cast of std::net::SocketAddrV4 and std::net::SocketAddrV6 data structures.

Patch / fix

  • crates.io quinn 0.5.4, 0.6.2, 0.7.0
  • quinn_project quinn 0.5.4, 0.6.2

Exploit prediction

1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
crates.io quinn
<0.5.4
>=0.6.0, <0.6.2
>=0.0.0-0, <0.5.4
>=0.6.0-0, <0.6.2
>=0.7.0-0, <0.7.0
0.5.4
0.6.2
0.7.0

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.