7.3Hoch

CVE-2024-25621containerd affected by a local privilege escalation via wide permissions on CRI directory

containerd containerd Veröffentlicht: (vor 1 Jahr)

Beschreibung

containerd is an open-source container runtime. Versions 0.1.0 through 1.7.28, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4 and 2.2.0-beta.0 through 2.2.0-rc.1 have an overly broad default permission vulnerability. Directory paths `/var/lib/containerd`, `/run/containerd/io.containerd.grpc.v1.cri` and `/run/containerd/io.containerd.sandbox.controller.v1.shim` were all created with incorrect permissions. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. Workarounds include updating system administrator permissions so the host can manually chmod the directories to not have group or world accessible permissions, or to run containerd in rootless mode.

Schwachstellentyp (CWE): CWE-279

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
containerd containerd < 1.7.29, >= 2.0.0-beta.0, < 2.0.7, >= 2.1.0-beta.0, < 2.1.5, >= 2.2.0-beta.0, < 2.2.0
linuxfoundation containerd < 1.7.29

Referenzen und Patches

CPE-Treffer (NVD) (8)

  • cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* < 1.7.29
  • cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* ≥ 2.0.0 < 2.0.7
  • cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* ≥ 2.1.0 < 2.1.5
  • cpe:2.3:a:linuxfoundation:containerd:2.2.0:beta0:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:containerd:2.2.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:containerd:2.2.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:containerd:2.2.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:containerd:2.2.0:rc1:*:*:*:*:*:*