Lima up to 0.15.x Disk Image /dev/rdiskN file access
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 2.5 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in Lima up to 0.15.x. This vulnerability affects unknown code of the file /dev/rdiskN of the component Disk Image Handler. The manipulation results in file access. This vulnerability is cataloged as CVE-2023-32684. The attack must be initiated from a local position. There is no exploit available. Upgrading the affected component is advised.
Details
A vulnerability was found in Lima up to 0.15.x. It has been classified as problematic. Affected is an unknown function of the file /dev/rdiskN of the component Disk Image Handler. The manipulation with an unknown input leads to a file access vulnerability. CWE is classifying the issue as CWE-552. The product makes files or directories accessible to unauthorized actors, even though they should not be. This is going to have an impact on confidentiality. CVE summarizes:
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.
The weakness was shared 05/30/2023 as GHSA-f7qw-jj9c-rpq9. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2023-32684 since 05/11/2023. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1083.
Upgrading to version 0.16.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 01dbd4d9cabe692afa4517be3995771f0ebb38a5 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 2.6VulDB Meta Temp Score: 2.5
VulDB Base Score: 2.5
VulDB Temp Score: 2.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 2.5
NVD Vector: 🔍
CNA Base Score: 2.7
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: File accessCWE: CWE-552 / CWE-425
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Lima 0.16.0
Patch: 01dbd4d9cabe692afa4517be3995771f0ebb38a5
Timeline
05/11/2023 🔍05/30/2023 🔍
05/30/2023 🔍
06/24/2023 🔍
Sources
Advisory: GHSA-f7qw-jj9c-rpq9Status: Confirmed
CVE: CVE-2023-32684 (🔍)
GCVE (CVE): GCVE-0-2023-32684
GCVE (VulDB): GCVE-100-230244
Entry
Created: 05/30/2023 21:44Updated: 06/24/2023 13:25
Changes: 05/30/2023 21:44 (54), 06/24/2023 13:25 (9)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.