Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ws
  4. ›
  5. CVE-2020-35896

CVE-2020-35896: Insufficient size checks in ws

August 25, 2021

An issue was discovered in the ws crate through 2020-09-25 for Rust. The outgoing buffer is not properly limited, leading to a remote memory-consumption attack.

References

  • github.com/advisories/GHSA-rh7x-ppxx-p34c
  • github.com/housleyjk/ws-rs
  • github.com/housleyjk/ws-rs/issues/291
  • nvd.nist.gov/vuln/detail/CVE-2020-35896
  • rustsec.org/advisories/RUSTSEC-2020-0043.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35896 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.9.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

cargo/ws/CVE-2020-35896.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.