CVE-2020-35919

Description

An issue was discovered in the net2 crate before 0.2.36 for Rust. It has false expectations about the std::net::SocketAddr memory representation.

Severity
MEDIUM
CVSS v3
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
0.392%
chance of exploitation in the next 30 days
higher than 33.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Timeline

  1. 2020-12-31Published by the CNA08:18 UTC
  2. 2021-08-25GitHub advisory published (GHSA-458v-4hrf-g3m4)237 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-458v-4hrf-g3m4, affected packages:

PackageVulnerable versionsFixed in
crates.io net2before 0.2.360.2.36
crates.io socket2before 0.3.160.3.16

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
net2_project net2before 0.2.36fixed in 0.2.360.2.36

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources