CVE-2020-25795
HIGH 7.5CVSS 3.1Array size is not checked in sized-chunks
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
- Published
- 19 Sep 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-129CWE-401
- Also known as
- CVE-2020-25791CVE-2020-25792CVE-2020-25793CVE-2020-25794CVE-2020-25796GHSA-64gv-qg2v-vxv6GHSA-9p9m-9xww-qjcxGHSA-fqpx-cq8x-9wp4GHSA-mp6f-p9gp-vpj9GHSA-rfgg-vccr-m46mGHSA-x54v-qxxr-93qcRUSTSEC-2020-0041
- Sources
- NVDJSONOSV GHSA-64gv-qg2v-vxv6JSONOSV GHSA-9p9m-9xww-qjcxJSONOSV GHSA-fqpx-cq8x-9wp4JSONOSV GHSA-mp6f-p9gp-vpj9JSONOSV GHSA-rfgg-vccr-m46mJSONOSV GHSA-x54v-qxxr-93qcJSONOSV RUSTSEC-2020-0041JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sized-chunks_project | sized-chunkscpe:2.3:a:sized-chunks_project:sized-chunks:*:*:*:*:*:rust:*:* |
<= 0.6.2 | |
| OSV | crates.io | sized-chunks | < 0.6.3 | 0.6.3 |
| OSV | crates.io | sized-chunks | >= 0.0.0-0, < 0.6.3 | 0.6.3 |
References
- https://github.com/bodil/sized-chunks/issues/11 · Exploit, Patch, Third Party Advisory, WEB, REPORT
- https://rustsec.org/advisories/RUSTSEC-2020-0041.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-25793 · ADVISORY
- https://github.com/bodil/sized-chunks · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2020-25791 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-25796 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-25792 · ADVISORY
- https://github.com/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c · WEB
- https://github.com/bodil/sized-chunks/commit/99e593c3037438db478256a1f3101371a69cbd3f · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-25794 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-25795 · ADVISORY
- https://crates.io/crates/sized-chunks · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 19 Sep 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Sep 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)