CVE-2020-35921 json
miow invalidly assumes the memory layout of std::net::SocketAddr
published 2020-11-13 5 y ago modified 2026-06-17 4 mo ago also GHSA-jrcf-4jp8-m28v , RUSTSEC-2020-0080 , EUVD-2021-1783
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
An issue was discovered in the miow crate before 0.3.6 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
Patch / fix
- crates.io miow 0.2.2, 0.3.6
- miow_project miow 0.2.2, 0.3.6
- rust-miow Debian 13, Debian 12 0.3.6-1
debian advisories DEBIAN-CVE-2020-35921
- github.com/yoshuawuyts/miow#39 pull request
- github.com/yoshuawuyts/miow#40 pull request
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0080.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | miow | >=0.3.0, <0.3.6 >=0.0.0-0, <0.2.2 >=0.3.0-0, <0.3.6 |
0.3.6 0.2.2 |
Classification
- Weakness
-
- CWE-188 Reliance on Data/Memory Layout
References
-
github.com
/yoshuawuyts/miow/pull/39
web
-
github.com
/yoshuawuyts/miow/pull/40
web
-
rustsec.org
/advisories/RUSTSEC-2020-0080.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35921
advisory
-
github.com
/yoshuawuyts/miow/issues/38
web, report
-
github.com
/yoshuawuyts/miow
package
-
crates.io
/crates/miow
package
Sources
- CVE List CVE-2020-35921
- GitHub Advisory GHSA-jrcf-4jp8-m28v
- NVD CVE-2020-35921
- OSV RUSTSEC-2020-0080
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.