logo

CVE-2021-45703 tectonic_xdv

Package

Manager: cargo
Name: tectonic_xdv
Vulnerable Version: >=0 <0.1.12

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00433 pctl0.6196

Details

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.

Metadata

Created: 2022-01-06T22:09:19Z
Modified: 2023-06-13T22:01:48Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-qwvx-c8j7-5g75/GHSA-qwvx-c8j7-5g75.json
CWE IDs: ["CWE-908"]
Alternative ID: GHSA-qwvx-c8j7-5g75
Finding: F138
Auto approve: 1