Back to the CVE list
CVE-2024-9675

Buildah: buildah allows arbitrary directory mount

CVSS score

7.8

EPSS probability

%0.4

Risk score

0.0

Published

2 y ago

Official patch verified

Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach CVE AI Research

CVE-2024-9675 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.

A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2024-9675 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1redhatbuildah View
2Red HatRed Hat Enterprise Linux 8 View
3Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support View
4Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service View
5Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions View
6Red HatRed Hat Enterprise Linux 8.8 Extended Update Support View
7Red HatRed Hat Enterprise Linux 9 View
8Red HatRed Hat Enterprise Linux 9 View
9Red HatRed Hat Enterprise Linux 9 View
10Red HatRed Hat Enterprise Linux 9 View
11Red HatRed Hat Enterprise Linux 9.0 Extended Update Support View
12Red HatRed Hat Enterprise Linux 9.0 Extended Update Support View
13Red HatRed Hat Enterprise Linux 9.2 Extended Update Support View
14Red HatRed Hat Enterprise Linux 9.2 Extended Update Support View
15Red HatRed Hat OpenShift Container Platform 4.12 View
16Red HatRed Hat OpenShift Container Platform 4.13 View
17Red HatRed Hat OpenShift Container Platform 4.13 View
18Red HatRed Hat OpenShift Container Platform 4.14 View
19Red HatRed Hat OpenShift Container Platform 4.14 View
20Red HatRed Hat OpenShift Container Platform 4.15 View
21Red HatRed Hat OpenShift Container Platform 4.15 View
22Red HatRed Hat OpenShift Container Platform 4.16 View
23Red HatRed Hat OpenShift Container Platform 4.16 View
24Red HatRed Hat OpenShift Container Platform 4.17 View
25Red HatRed Hat OpenShift Container Platform 4.17 View
26Red HatRed Hat OpenShift Container Platform 4.18 View
27Red HatRed Hat Quay 3 View
28Red HatRed Hat Quay 3 View
29Red HatRed Hat Quay 3 View
30Red HatRed Hat Quay 3 View
31Red HatRed Hat Quay 3 View
32Red HatOpenShift Developer Tools and Services View
33Red HatRed Hat Enterprise Linux 10 View
34Red HatRed Hat Enterprise Linux 7 View
35Red HatRed Hat Enterprise Linux 9 View
36Red HatRed Hat OpenShift Container Platform 4 View
37buildah projectbuildah View
38redhatopenshift container platform View
39redhatopenshift container platform View
40redhatopenshift container platform View
41redhatopenshift container platform View
42redhatopenshift container platform View
43redhatenterprise linux View
44redhatenterprise linux View
45redhatenterprise linux eus View
46redhatenterprise linux eus View
47redhatenterprise linux eus View
48redhatenterprise linux eus View
49redhatenterprise linux for arm 64 View
50redhatenterprise linux for arm 64 View
51redhatenterprise linux for arm 64 eus View
52redhatenterprise linux for arm 64 eus View
53redhatenterprise linux for arm 64 eus View
54redhatenterprise linux for arm 64 eus View
55redhatenterprise linux for ibm z systems View
56redhatenterprise linux for ibm z systems View
57redhatenterprise linux for ibm z systems eus View
58redhatenterprise linux for ibm z systems eus View
59redhatenterprise linux for ibm z systems eus View
60redhatenterprise linux for ibm z systems eus View
61redhatenterprise linux for power little endian View
62redhatenterprise linux for power little endian View
63redhatenterprise linux for power little endian eus View
64redhatenterprise linux for power little endian eus View
65redhatenterprise linux for power little endian eus View
66redhatenterprise linux for power little endian eus View
67redhatenterprise linux server aus View
68redhatenterprise linux server aus View
69redhatenterprise linux server aus View
70redhatenterprise linux server for power little endian update services for sap solutions View
71redhatenterprise linux server for power little endian update services for sap solutions View
72redhatenterprise linux server for power little endian update services for sap solutions View
73redhatenterprise linux server for power little endian update services for sap solutions View
74redhatenterprise linux server for power little endian update services for sap solutions View
75redhatenterprise linux server tus View
76redhatenterprise linux server tus View
77redhatenterprise linux update services for sap solutions View
78redhatenterprise linux update services for sap solutions View
79redhatenterprise linux update services for sap solutions View
80redhatenterprise linux update services for sap solutions View
81redhatenterprise linux update services for sap solutions View
82gogithub.com/containers/buildah View
83gogithub.com/containers/buildah View
84gogithub.com/containers/buildah View
Total affected vendors: 4|Products: 84

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
7.8CVSS V3_1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCVE CNA
7.8CVSS V31HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
5.3CVSS 4.0—Vector not publishedGitHub Advisory
4.4CVSS V31MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NNVD
4.4CVSS 3.x—Vector not publishedGitHub Advisory

Patch and Remediation Guide

Solution & Remediation Advisory

Patch verified

2 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

gitlabgo/github.com/containers/buildah1.38.0

GitLab Advisory düzeltilmiş sürüm: 1.38.0

gitlab

Upgrade to version 1.38.0 or above.

osvgithub.com/containers/buildah1.37.1

OSV düzeltilmiş sürüm: 1.37.1

canonical

Upgrade to version 1.38.0 or above.

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Apply the official update named in the evidence only to the matching product and version.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-9675 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-9675 weaknesses.

Attack Vector and Accessibility

ExposureYerel erişim
PermissionsLow
UserGerekmiyor

Official Sources and Advisories

CVSS Vector Radar Chart

7.8 / 10
Attack VectorLocalComplexityLowPrivilegesLowUser Interact.NoneConfidentialityLowIntegrityNoneAvailabilityHigh

Vulnerability Scoring Details

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow privileges
User InteractionNone required
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)None
Availability (Erişilebilirlik)High

Yama doğrulandı

2 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

Follow the vendor

R
redhat logo
redhat
RH
Red Hat logo
Red Hat
G
go logo
go

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2024-9675"