CVE-2021-45683
CRITICAL 9.8CVSS 3.1'Read' on uninitialized memory may cause UB
An issue was discovered in the binjs_io crate through 2021-01-03 for Rust. The Read method may read from uninitialized memory locations.
- Published
- 27 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-908
- Also known as
- GHSA-c6px-4grw-hrjrGHSA-cw4j-cf6c-mmfvRUSTSEC-2021-0085
- Sources
- NVDJSONOSV GHSA-c6px-4grw-hrjrJSONOSV GHSA-cw4j-cf6c-mmfvJSONOSV RUSTSEC-2021-0085JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | binjs_io_project | binjs_iocpe:2.3:a:binjs_io_project:binjs_io:0.2.1:*:*:*:*:rust:*:* |
= 0.2.1 | |
| OSV | crates.io | binjs_io | <= 0.2.1 | |
| OSV | crates.io | binjs_io | >= 0.0.0-0 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/binjs_io/RUSTSEC-2021-0085.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2021-0085.html · Third Party Advisory, WEB, ADVISORY
- https://github.com/binast/binjs-ref/issues/460 · WEB, REPORT
- https://github.com/binast/binjs-ref · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-45683 · ADVISORY
- https://github.com/Yoric/binjs-ref · PACKAGE
- https://crates.io/crates/binjs_io · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)