CyberRota Analysis
AI-GeneratedDocker users utilizing Buildah versions 1.38.1 to 1.43.2 and 1.44.0 are vulnerable to a directory traversal issue that allows malicious Git repositories or tar archives to include files outside the intended build context. This could lead to unauthorized file access or manipulation during the image build process. Organizations using these affected versions should prioritize upgrading to the patched versions 1.43.2 or 1.44.0 to mitigate potential security risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Buildah is a tool that facilitates building OCI images. From 1.38.1 until 1.43.2 and 1.44.0, TempDirForURL in define/types.go does not securely confine Git repository subdirectories to the downloaded build context, and downloadToDirectory and stdinToDirectory can follow a Dockerfile symlink left by a partially extracted tar archive. A malicious server supplying a Git repository or tar archive can cause files outside the build context directory to be included in the context or copied into the build. This issue is fixed in versions 1.43.2 and 1.44.0.