GO-2024-2658
Dashboard / Vulnerabilities / GO-2024-2658
GO-2024-2658
Published: 22 Mar 2024Last Modified: 25 Nov 2026
Summary: Container escape at build time in github.com/containers/buildah
Details: A crafted container file can use a dummy image with a symbolic link to the host filesystem as a mount source and cause the mount operation to mount the host filesystem during a build-time RUN step. The commands inside the RUN step will then have read-write access to the host filesystem.
References: https://github.com/containers/buildah/commit/9de9c20ff368beb84b84fe660773d352519dc1c5, https://bugzilla.redhat.com/show_bug.cgi?id=2265513
Affected packages
Package
Name: github.com/containers/buildah
Purl: pkg:golang/github.com/containers/buildah
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.35.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
