Skip to content
Heist/ feed
Back to feed
Low

In Lima, a malicious disk image could read a single file on the host filesystem as a qcow2/vmdk backing file

Type: advisorySources: OSV

Lima launches Linux virtual machines, typically on macOS, for running containerd. Prior to version 0.16.0, a virtual machine instance with a malicious disk image could read a single file on the host filesystem, even when no filesystem is mounted from the host. The official templates of Lima and the well-known third party products (Colima, Rancher Desktop, and Finch) are unlikely to be affected by this issue. To exploit this issue, the attacker has to embed the target file path (an absolute or a relative path from the instance directory) in a malicious disk image, as the qcow2 (or vmdk) backing file path string. As Lima refuses to run as the root, it is practically impossible for the attacker to read the entire host disk via `/dev/rdiskN`. Also, practically, the attacker cannot read at least the first 512 bytes (MBR) of the target file. The issue has been patched in Lima in version 0.16.0 by prohibiting using a backing file path in the VM base image.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-32684
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:06 UTC · Revision 1

Source evidence

In Lima, a malicious disk image could read a single file on the host filesystem as a qcow2/vmdk backing file

core-osv · Original source

Published 30 May 2023, 17:19 UTC

Lima launches Linux virtual machines, typically on macOS, for running containerd. Prior to version 0.16.0, a virtual machine instance with a malicious disk image could read a single file on the host filesystem, even when no filesystem is mounted from the host. The official templates of Lima and the well-known third party products (Colima, Rancher Desktop, and Finch) are unlikely to be affected by this issue. To exploit this issue, the attacker has to embed the target file path (an absolute or a relative path from the instance directory) in a malicious disk image, as the qcow2 (or vmdk) backing file path string. As Lima refuses to run as the root, it is practically impossible for the attacker to read the entire host disk via `/dev/rdiskN`. Also, practically, the attacker cannot read at least the first 512 bytes (MBR) of the target file. The issue has been patched in Lima in version 0.16.0 by prohibiting using a backing file path in the VM base image.

osv:CVE-2023-32684
Complete source record
{
  "id": "4416e2389e2977ea9ac214e034337f87ea6efa2c18c1f0f7144320f2daa767be",
  "url": "https://osv.dev/vulnerability/CVE-2023-32684",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "In Lima, a malicious disk image could read a single file on the host filesystem as a qcow2/vmdk backing file",
    "summary": "Lima launches Linux virtual machines, typically on macOS, for running containerd. Prior to version 0.16.0, a virtual machine instance with a malicious disk image could read a single file on the host filesystem, even when no filesystem is mounted from the host. The official templates of Lima and the well-known third party products (Colima, Rancher Desktop, and Finch) are unlikely to be affected by this issue. To exploit this issue, the attacker has to embed the target file path (an absolute or a relative path from the instance directory) in a malicious disk image, as the qcow2 (or vmdk) backing file path string. As Lima refuses to run as the root, it is practically impossible for the attacker to read the entire host disk via `/dev/rdiskN`. Also, practically, the attacker cannot read at least the first 512 bytes (MBR) of the target file. The issue has been patched in Lima in version 0.16.0 by prohibiting using a backing file path in the VM base image.",
    "evidence": "osv:CVE-2023-32684",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2023-32684",
      "aliases": [
        "CVE-2023-32684",
        "GHSA-f7qw-jj9c-rpq9",
        "GO-2023-1803"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/lima-vm/lima",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "01dbd4d9cabe692afa4517be3995771f0ebb38a5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.16.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "01dbd4d9cabe692afa4517be3995771f0ebb38a5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "01dbd4d9cabe692afa4517be3995771f0ebb38a5"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.16.0"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:lima:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.16.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.15.1",
            "v0.15.0",
            "v0.14.2",
            "v0.14.1",
            "v0.14.0",
            "v0.14.0-beta.1",
            "v0.14.0-beta.0",
            "v0.13.0",
            "v0.12.0",
            "v0.11.3",
            "v0.11.2",
            "v0.11.1",
            "v0.11.0",
            "v0.10.0",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.9.0-beta.0",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1-rc.1",
            "v0.7.1",
            "v0.7.1-rc.0",
            "v0.7.0",
            "v0.6.4",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-32684.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.669279479Z",
      "provider": "osv",
      "references": [
        "https://github.com/lima-vm/lima/releases/tag/v0.16.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32684.json",
        "https://github.com/lima-vm/lima/security/advisories/GHSA-f7qw-jj9c-rpq9",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-32684",
        "https://github.com/lima-vm/lima/commit/01dbd4d9cabe692afa4517be3995771f0ebb38a5"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-552"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32684.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-32684",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505151,
  "published_at": "2023-05-30T17:19:17.148+00:00"
}