Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS02NjkyLThxcWYtNzlqY84AArs6
`Read` on uninitialized buffer may cause UB ('tectonic_xdv' crate)
Affected versions of this crate passes an uninitialized buffer to a user-provided Read
implementation.
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.
The problem was fixed in commit cdff034
by zero-initializing the buffer before passing it to a user-provided Read
implementation.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02NjkyLThxcWYtNzlqY84AArs6
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago
Identifiers: GHSA-6692-8qqf-79jc
References:
- https://github.com/tectonic-typesetting/tectonic/issues/752
- https://rustsec.org/advisories/RUSTSEC-2021-0112.html
- https://github.com/tectonic-typesetting/tectonic/commit/cdff034e6d93cdfdafd13d8c6956e22fa5a57b79
- https://github.com/advisories/GHSA-6692-8qqf-79jc
Blast Radius: 0.0
Affected Packages
cargo:tectonic_xdv
Dependent packages: 2Dependent repositories: 16
Downloads: 70,081 total
Affected Version Ranges: < 0.1.12
Fixed in: 0.1.12
All affected versions: 0.1.8, 0.1.9, 0.1.10, 0.1.11
All unaffected versions: 0.1.12, 0.2.0, 0.2.1, 0.2.2