### Impact When processing a build contexts or `add`/`copy` instructions, a malicious server serving a Git repository or a tar archive file can cause files outside of the build context directory to be included in the build context or copied into the build. ### Patches Fixed in Buildah 1.44 and 1.43.2.
Update github.com/containers/buildah to 1.43.2 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanBuild breakout using malicious Containerfile and Git Smart HTTP server or GitHub release tar archive affects github.com/containers/buildah (go). Severity is medium. ### Impact When processing a build contexts or `add`/`copy` instructions, a malicious server serving a Git repository or a tar archive file can cause files outside of the build context directory to be included in the build context or copied into the build. ### Patches Fixed in Buildah 1.44 and 1.43.2.
AI coding agents often install or upgrade packages automatically in go. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| github.com/containers/buildahgo | >=1.38.1,<1.43.2 | 1.43.2 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
### Impact When processing a build contexts or `add`/`copy` instructions, a malicious server serving a Git repository or a tar archive file can cause files outside of the build context directory to be included in the build context or copied into the build. ### Patches Fixed in Buildah 1.44 and 1.43.2.
Update github.com/containers/buildah to 1.43.2 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanBuild breakout using malicious Containerfile and Git Smart HTTP server or GitHub release tar archive affects github.com/containers/buildah (go). Severity is medium. ### Impact When processing a build contexts or `add`/`copy` instructions, a malicious server serving a Git repository or a tar archive file can cause files outside of the build context directory to be included in the build context or copied into the build. ### Patches Fixed in Buildah 1.44 and 1.43.2.
AI coding agents often install or upgrade packages automatically in go. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| github.com/containers/buildahgo | >=1.38.1,<1.43.2 | 1.43.2 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardReported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard