GitHub Advisory Database
GHSA-25mx-8f3v-8wh7
sequoia-openpgp vulnerable to out-of-bounds array access leading to panic
Details
Affected versions of the crate have several bugs 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 | sequoia-openpgp | All versions before 1.1.1 (fixed in 1.1.1) |
| crates.io | sequoia-openpgp | From 1.2.0 before 1.8.1 (fixed in 1.8.1) |
| crates.io | sequoia-openpgp | From 1.9.0 before 1.16.0 (fixed in 1.16.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-53160
- https://github.com/advisories/GHSA-29mf-62xx-28jq
- https://gitlab.com/sequoia-pgp/sequoia
- https://gitlab.com/sequoia-pgp/sequoia/-/blob/main/openpgp/NEWS
- https://lists.sequoia-pgp.org/hyperkitty/list/[email protected]/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI
- https://rustsec.org/advisories/RUSTSEC-2023-0038.html