Live threats

All CVEs / Os Str Bytes Project

CVE-2020-35865Os Str Bytes Project Os Str Bytes

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Dec 31, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An issue was discovered in the os_str_bytes crate before 2.0.0 for Rust. It has false expectations about char::from_u32_unchecked behavior.

Original NVD text.

What to do

  1. Apply the vendor's security update for Os Str Bytes.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io os_str_bytes < 2.0.0 2.0.0 cargo update -p os_str_bytes --precise 2.0.0
crates.io os_str_bytes ≥ 0.0.0-0 < 2.0.0 2.0.0 cargo update -p os_str_bytes --precise 2.0.0

Per OSV / GitHub Advisories (GHSA-q948-x8rf-888m, RUSTSEC-2020-0012). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
os_str_bytes_projectos_str_bytes< 2.0.0

Official sources

References

Links published by the sources. Open them with care.