Ecosyste.ms: Advisories

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

Security Advisories: GSA_kwCzR0hTQS1xd3Z4LWM4ajctNWc3Nc0fjA

Use of Uninitialized Resource in tectonic_xdv

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.

Permalink: https://github.com/advisories/GHSA-qwvx-c8j7-5g75
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xd3Z4LWM4ajctNWc3Nc0fjA
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 2 years ago
Updated: 11 months ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-qwvx-c8j7-5g75, CVE-2021-45703
References: Repository: https://github.com/tectonic-typesetting/tectonic
Blast Radius: 11.8

Affected Packages

cargo:tectonic_xdv
Dependent packages: 2
Dependent repositories: 16
Downloads: 62,241 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