CVE-2020-35916
MEDIUM 5.5CVSS 3.1Mutable reference with immutable provenance in image
An issue was discovered in the image crate before 0.23.12 for Rust. A Mutable reference has immutable provenance. (In the case of LLVM, the IR may be always correct.)
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-9wgh-vjj7-7433RUSTSEC-2020-0073
- Sources
- NVDJSONOSV GHSA-9wgh-vjj7-7433JSONOSV RUSTSEC-2020-0073JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | image-rs | imagecpe:2.3:a:image-rs:image:*:*:*:*:*:rust:*:* |
< 0.23.12 | 0.23.12 |
| OSV | crates.io | image | < 0.23.12 | 0.23.12 |
| OSV | crates.io | image | >= 0.0.0-0, < 0.23.12 | 0.23.12 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0073.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35916 · ADVISORY
- https://github.com/image-rs/image/issues/1357 · WEB, REPORT
- https://github.com/image-rs/image/pull/1358 · WEB
- https://github.com/image-rs/image/commit/5cbe1e6767d11aff3f14c7ad69a06b04e8d583c7 · WEB
- https://github.com/image-rs/image · PACKAGE
- https://crates.io/crates/image · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)