Vulnerability DatabaseRUSTSEC-2020-0155

RUSTSEC-2020-0155
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the acc_reader crate through 2020-12-27 for Rust, identified as RUSTSEC-2020-0155 (CVE-2020-36513). The vulnerability involves the read_up_to method potentially reading from uninitialized memory locations, which poses a significant security risk. The issue was discovered by the Rust group at Georgia Tech's Systems Software & Security Lab (@sslab-gatech) while scanning Rust code on crates.io (RustSec Advisory).

Technical details

The vulnerability stems from unsound implementations in the fill_buf() and read_up_to() methods. These methods create an uninitialized buffer and pass it to a user-provided Read implementation, which violates Rust's safety guarantees. According to the Read trait documentation, it is the responsibility of the implementation to ensure that the buffer is initialized before calling read. The vulnerability has received a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD Database).

Impact

The vulnerability allows safe Rust code to exhibit undefined behavior through reading from uninitialized memory locations. This could potentially lead to memory corruption, information disclosure, or program crashes. The high CVSS score indicates that the vulnerability can be exploited remotely with no special privileges or user interaction required (NVD Database).

Exploitability

The vulnerability is classified with CWE-908 (Use of Uninitialized Resource). The issue affects all versions of the acc_reader crate up to and including version 2.0.0. The vulnerability can be triggered through normal usage of the affected methods, making it particularly concerning for applications that rely on this crate (NVD Database).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54788HIGH7.5
  • Rust logoRust
  • datadog-opentelemetry
NoYesAug 28, 2026
RUSTSEC-2026-0278HIGH7.3
  • Rust logoRust
  • zbus_polkit
NoYesAug 31, 2026
GHSA-2vh6-hw4j-32wwMEDIUM6.5
  • Rust logoRust
  • gix-packetline
NoYesAug 28, 2026
CVE-2026-53600MEDIUM6.3
  • Rust logoRust
  • zed
NoYesSep 02, 2026
RUSTSEC-2026-0272NONEN/A
  • Rust logoRust
  • stack_dst
NoYesAug 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management