Security mailing lists by PureSourceCode

CVE-2020-35896

HIGH 7.5CVSS 3.1

Insufficient size checks in ws

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.

Published
31 Dec 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-400CWE-770
Also known as
GHSA-rh7x-ppxx-p34cRUSTSEC-2020-0043
Sources
NVDJSONOSV GHSA-rh7x-ppxx-p34cJSONOSV RUSTSEC-2020-0043JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV RustSec CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ws-rs_project ws-rs
cpe:2.3:a:ws-rs_project:ws-rs:*:*:*:*:*:rust:*:*
<= 0.9.1
OSV crates.io ws <= 0.9.1
OSV crates.io ws >= 0.0.0-0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.