GO-2024-2658

Source
https://pkg.go.dev/vuln/GO-2024-2658
Import Source
https://vuln.go.dev/ID/GO-2024-2658.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-2658
Aliases
Related
Published
2024-03-22T16:47:09Z
Modified
2024-05-20T16:03:47Z
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
Credits
    • @rmcnamara-snyk

Affected packages

Go / github.com/containers/buildah

Package

Name
github.com/containers/buildah
View open source insights on deps.dev
Purl
pkg:golang/github.com/containers/buildah

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.35.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/containers/buildah/internal/volumes",
            "symbols": [
                "GetBindMount",
                "GetVolumes"
            ]
        }
    ]
}