cve/2024/CVE-2024-23652.md

24 lines
1.4 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-23652](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-23652)
![](https://img.shields.io/static/v1?label=Product&message=buildkit&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%200.12.5%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brighgreen)
### Description
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/abian2/CVE-2024-23652
- https://github.com/mightysai1997/leaky-vessels-dynamic-detector
2025-09-29 16:08:36 +00:00
- https://github.com/nclsbayona/leaky-vessels
2024-05-25 21:48:12 +02:00
- https://github.com/nomi-sec/PoC-in-GitHub
2025-09-29 16:08:36 +00:00
- https://github.com/plzheheplztrying/cve_monitor
2024-05-25 21:48:12 +02:00
- https://github.com/snyk/leaky-vessels-dynamic-detector
- https://github.com/snyk/leaky-vessels-static-detector