# CVE-2021-30454: Uninitialized memory access in outer_cgi

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2021-01-31T12:00:00.000Z
- Modified: 2026-06-17T03:50:16.510Z
- Also known as: GHSA-6vmq-jh76-hq43, RUSTSEC-2021-0051
- Weaknesses: CWE-119
- Assigned by: mitre

## Description

An issue was discovered in the outer_cgi crate before 0.2.1 for Rust. A user-provided Read instance receives an uninitialized memory buffer from KeyValueReader.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- outer_cgi (crates.io): before 0.2.1; from 0.0.0-0 before 0.2.1
- outer_cgi_project outer_cgi: before 0.2.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- RustSec Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0051.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30454> (advisory)
- <https://github.com/SolraBizna/outer_cgi/issues/1> (report, web)
- <https://github.com/SolraBizna/outer_cgi/commit/dd59b3066e616a08e756f72de8dc3ab11b7036c4> (web)
- <https://github.com/SolraBizna/outer_cgi> (package)
- <https://crates.io/crates/outer_cgi> (package)

## Sources

- CVE List: [CVE-2021-30454](https://www.cve.org/CVERecord?id=CVE-2021-30454), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-6vmq-jh76-hq43](https://github.com/advisories/GHSA-6vmq-jh76-hq43), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0051](https://rustsec.org/advisories/RUSTSEC-2021-0051.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-30454](https://nvd.nist.gov/vuln/detail/CVE-2021-30454), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-30454 · Whole record: https://cve.day/CVE-2021-30454.json · Rebuilt by cve.day 2026-11-25T22:58:00.667Z
