CVE catalog

CVE-2020-35920

rust-socket2: CVE-2020-35920

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.41% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-socket2sid0.6.5-1fixed
Debianrust-socket2forky0.6.5-1fixed
Debianrust-socket2trixie0.5.8-1fixed
Debianrust-socket2bookworm0.4.4-1fixed
Ubunturust-socket220.040.3.11-1vulnerable
Ubunturust-socket222.040.3.19-2vulnerable
Ubunturust-socket222.040.4.2-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-socket2sourcesid0.3.19-1not yet assignedNot reportedNot reported
Debianrust-socket2sourceforky0.3.19-1not yet assignedNot reportedNot reported
Debianrust-socket2sourcetrixie0.3.19-1not yet assignedNot reportedNot reported
Debianrust-socket2sourcebookworm0.3.19-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [rust-socket2]

    Details (2)
    • 0.4.4-1 · amd64 · bookworm

      Fixed · Fixed: 0.3.19-1

      dsa · rust-socket2 · debian · bookworm; dsa · rust-socket2 · debian · 12

    • 0.4.4-1 · arm64 · bookworm

      Fixed · Fixed: 0.3.19-1

      dsa · rust-socket2 · debian · bookworm; dsa · rust-socket2 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [rust-socket2]

    Details (2)
    • 0.5.8-1 · amd64 · trixie

      Fixed · Fixed: 0.3.19-1

      dsa · rust-socket2 · debian · 13

    • 0.5.8-1 · arm64 · trixie

      Fixed · Fixed: 0.3.19-1

      dsa · rust-socket2 · debian · 13

Observed:

References