GitHub Advisory Database
GHSA-29mf-62xx-28jq
buffered-reader vulnerable to out-of-bounds array access leading to panic
Details
Affected versions of the crate have a bug where attacker-controlled input can result in the use of an out-of-bound array index. Rust detects the use of the out-of-bound index and causes the application to panic. An attacker may be able to use this to cause a denial-of-service. However, it is not possible for an attacker to read from or write to the application's address space.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | buffered-reader | All versions before 1.0.2 (fixed in 1.0.2) |
| crates.io | buffered-reader | From 1.1.0 before 1.1.5 (fixed in 1.1.5) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-53161
- https://github.com/advisories/GHSA-25mx-8f3v-8wh7
- https://gitlab.com/sequoia-pgp/sequoia
- https://gitlab.com/sequoia-pgp/sequoia/-/blob/main/buffered-reader/NEWS
- https://gitlab.com/sequoia-pgp/sequoia/-/tags/buffered-reader%2Fv1.0.2
- https://gitlab.com/sequoia-pgp/sequoia/-/tags/buffered-reader%2Fv1.1.5
- https://lists.sequoia-pgp.org/hyperkitty/list/[email protected]/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI
- https://rustsec.org/advisories/RUSTSEC-2023-0039.html