Incorrect Execution-Assigned Permissions Affecting containerd-stress package, versions <0:2.1.5-1.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-CONTAINERDSTRESS-14431692
  • published17 Dec 2025
  • disclosed6 Nov 2025

Introduced: 6 Nov 2025

CVE-2024-25621  (opens in a new tab)
CWE-279  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 containerd-stress to version 0:2.1.5-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1304.

NVD Description

Note: Versions mentioned in the description apply only to the upstream containerd-stress package and not the containerd-stress package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1