{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-35920","id":"CVE-2020-35920","title":"socket2 invalidly assumes the memory layout of std::net::SocketAddr","description":"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.","descriptionLong":"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.","published":"2020-12-31T08:17:48.000Z","updated":"2026-10-24T10:30:51.589354947Z","reserved":"2020-12-31T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","rating":"low","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"socket2","purl":"pkg:cargo/socket2","ranges":["<0.3.16",">=0.0.0-0 <0.3.16"],"fixed":["0.3.16"],"advisory":"GHSA-458v-4hrf-g3m4"},{"ecosystem":"crates.io","name":"net2","purl":"pkg:cargo/net2","ranges":["<0.2.36",">=0.0.0-0 <0.2.36"],"fixed":["0.2.36"],"advisory":"GHSA-458v-4hrf-g3m4"}],"cwes":["CWE-188"],"aliases":["CVE-2020-35919","GHSA-458v-4hrf-g3m4","GHSA-c79c-gwph-gqfm","RUSTSEC-2020-0078","RUSTSEC-2020-0079"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0079.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35920","tags":["advisory"]},{"url":"https://github.com/deprecrated/net2-rs/issues/105","tags":["web","report"]},{"url":"https://github.com/rust-lang/socket2-rs/issues/119","tags":["web","report"]},{"url":"https://github.com/rust-lang/socket2-rs","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0078.html","tags":["web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35919","tags":["advisory"]},{"url":"https://github.com/deprecrated/net2-rs","tags":["package"]},{"url":"https://crates.io/crates/net2","tags":["package"]},{"url":"https://crates.io/crates/socket2","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00407,"epssPercentile":0.35758,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-35920","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35920","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-35920","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-458v-4hrf-g3m4","ok":true,"note":"GHSA-458v-4hrf-g3m4"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c79c-gwph-gqfm","ok":true,"note":"GHSA-c79c-gwph-gqfm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-35920","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}