Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1jNnB4LTRncnctaHJqcs4AArq4

'Read' on uninitialized memory may cause UB

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. The crate currently contains 4 occurrences of such cases. Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.
Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.

Permalink: https://github.com/advisories/GHSA-c6px-4grw-hrjr
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jNnB4LTRncnctaHJqcs4AArq4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: 11 months ago


Identifiers: GHSA-c6px-4grw-hrjr
References: Repository: https://github.com/binast/binjs-ref
Blast Radius: 0.0

Affected Packages

cargo:binjs_io
Dependent packages: 1
Dependent repositories: 1
Downloads: 1,413 total
Affected Version Ranges: <= 0.2.1
No known fixed version
All affected versions: 0.2.1