跳转到帖子

Amazon Linux 2023: CVE-2024-23651: Important priority package update for docker

recommended_posts

发布于
  • Members

Amazon Linux 2023: CVE-2024-23651: Important priority package update for docker

Severity
5
CVSS
(AV:L/AC:H/Au:S/C:C/I:C/A:N)
Published
01/31/2024
Created
02/14/2025
Added
02/14/2025
Modified
02/14/2025

Description

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options. A race condition issue was found in the Moby Builder Toolkit, stemming from a time-of-check/time-of-use (TOCTOU) vulnerability during cache volume mounting at container build time. Concurrent execution of two malicious build steps, sharing the same cache mounts with subpaths, may result in files from the host system being accessible to the build container. Successful exploitation could lead to a container escape to the underlying host OS when building an image using a malicious Dockerfile or upstream image (for example, when using FROM).

Solution(s)

  • amazon-linux-2023-upgrade-docker
  • amazon-linux-2023-upgrade-docker-debuginfo
  • amazon-linux-2023-upgrade-docker-debugsource

References

  • https://attackerkb.com/topics/cve-2024-23651
  • CVE - 2024-23651
  • https://alas.aws.amazon.com/AL2023/ALAS-2024-542.html
  • 查看数 703
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…