Skip to content
Heist/ feed
Back to feed
Medium

rust-image — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-35916

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.)

Products
rust-image
Affected versions
0.24.7-2, 0.25.10-2, 0.25.5-3, 0.25.6-2ubuntu1, 0.25.6-3, 0.25.8-1, 0.25.8-2, 0.25.8-3
Fixed versions
Not specified
CVEs
CVE-2020-35916
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:38 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-35916

core-osv · Original source

Published 31 Dec 2020, 09:15 UTC

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.)

osv:UBUNTU-CVE-2020-35916

rust-image

Fixed versions: Not specified

rust-image

Fixed versions: Not specified

rust-image

Fixed versions: Not specified

rust-image

Fixed versions: Not specified

Complete source record
{
  "id": "4a2793ff5317586cd98c6438c3ae56a7556beb2a471e48261f93d8276f0a9502",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-35916",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-35916",
    "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.)",
    "evidence": "osv:UBUNTU-CVE-2020-35916",
    "products": [
      {
        "name": {
          "value": "rust-image",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.24.7-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-image",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.25.5-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.25.6-2ubuntu1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-image",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.25.8-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.25.10-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-image",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.25.6-2ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.25.6-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.25.8-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.25.8-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.25.8-3",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2020-35916",
      "aliases": [
        "UBUNTU-CVE-2020-35916"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-image",
            "purl": "pkg:deb/ubuntu/rust-image?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.24.7-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35916.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-image-dev",
                "binary_version": "0.24.7-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-image",
            "purl": "pkg:deb/ubuntu/rust-image?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.25.5-3",
            "0.25.6-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35916.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-image-dev",
                "binary_version": "0.25.6-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-image",
            "purl": "pkg:deb/ubuntu/rust-image?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.25.8-3",
            "0.25.10-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35916.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-image-dev",
                "binary_version": "0.25.10-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-image",
            "purl": "pkg:deb/ubuntu/rust-image?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.25.6-2ubuntu1",
            "0.25.6-3",
            "0.25.8-1",
            "0.25.8-2",
            "0.25.8-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35916.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-image-dev",
                "binary_version": "0.25.8-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:52.976012311Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-35916"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-35916",
        "https://rustsec.org/advisories/RUSTSEC-2020-0073.html",
        "https://github.com/image-rs/image/issues/1357",
        "https://www.cve.org/CVERecord?id=CVE-2020-35916"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-35916",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354213,
  "published_at": "2020-12-31T09:15:00+00:00"
}