CVE-2020-35916 json
Mutable reference with immutable provenance in image
published 2020-11-12 5 y ago modified 2026-06-17 4 mo ago also GHSA-9wgh-vjj7-7433 , RUSTSEC-2020-0073 , EUVD-2021-1669
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- crates.io image 0.23.12
- image-rs image 0.23.12
- rust-image Debian 14, Debian 13, Debian 12 0.23.14-1
debian advisories DEBIAN-CVE-2020-35916
- github.com/image-rs/image@5cbe1e6 commit
- github.com/image-rs/image#1358 pull request
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0073.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | image | <0.23.12 >=0.0.0-0, <0.23.12 |
0.23.12 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/image-rs/image/pull/1358
web
-
github.com
/image-rs/image/commit/5cbe1e6767d11aff3f14c7ad69a06b04e8d583c7
web
-
rustsec.org
/advisories/RUSTSEC-2020-0073.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35916
advisory
-
github.com
/image-rs/image/issues/1357
web, report
-
github.com
/image-rs/image
package
-
crates.io
/crates/image
package
Sources
- CVE List CVE-2020-35916
- GitHub Advisory GHSA-9wgh-vjj7-7433
- NVD CVE-2020-35916
- OSV RUSTSEC-2020-0073
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.