VDB
CVE-2020-35920
CVE-2020-35920
PUBLISHED
CVSS 5.5 MEDIUM
socket2 invalidly assumes the memory layout of std::net::SocketAddr
Reported by mitre · Published December 31, 2020
An issue was discovered in the socket2 crate before 0.3.16 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
Risk scores
CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| crates.io | net2 | 0 |
| crates.io | socket2 | 0 |
Timeline
- Dec 31, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Aug 31, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-35920
vulnetix vdb fixes CVE-2020-35920
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-35920/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-35920 advisory
- https://github.com/advisories/GHSA-458v-4hrf-g3m4 advisory
- https://github.com/deprecrated/net2-rs/issues/105 url
- https://github.com/rust-lang/socket2-rs/issues/119 url
- https://github.com/rust-lang/socket2-rs url
- https://rustsec.org/advisories/RUSTSEC-2020-0078.html url