9.8critical
Use of Uninitialized Resource in tectonic_xdv
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.23% (higher than 69% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6692-8qqf-79jcGHSA-qwvx-c8j7-5g75RUSTSEC-2021-0112
Description
An issue was discovered in the tectonic_xdv crate before 0.1.12 for Rust. XdvParser::<T>::process may read from uninitialized memory locations.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| tectonic_xdv (crates.io) | before 0.1.12, from 0.0.0-0 before 0.1.12 | GitHub Advisory Database, RustSec Advisory Database |
| tectonic_xdv_project tectonic_xdv | before 0.1.12 | NVD |
All scores
| GitHub | high rating | |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
An issue was discovered in the tectonic_xdv crate before 0.1.12 for Rust. XdvParser::<T>::process may read from uninitialized memory locations.
GitHub Advisory Database
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-qwvx-c8j7-5g75. This link is maintained to preserve external references.
Original Description
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.
GitHub Advisory Database
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.
RustSec Advisory Database
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.
NVD (es)
Se ha detectado un problema en la crate tectonic_xdv versiones anteriores a 0.1.12 para Rust. La función XdvParser::(T)::process puede leer desde ubicaciones de memoria no inicializadas
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-45703 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6692-8qqf-79jc changed 2026-02-03 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-qwvx-c8j7-5g75 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2021-0112 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2021-45703 changed 2026-06-17 | Public domain |