GO-2024-2494

See a problem?
Source
https://pkg.go.dev/vuln/GO-2024-2494
Import Source
https://vuln.go.dev/ID/GO-2024-2494.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-2494
Aliases
Published
2024-02-12T18:45:16Z
Modified
2024-05-20T16:03:47Z
Summary
Host system modification in github.com/moby/buildkit
Details

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.

References
Credits
    • @rmcnamara-snyk

Affected packages

Go / github.com/moby/buildkit

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/moby/buildkit/executor",
            "symbols": [
                "MountStubsCleaner"
            ]
        }
    ]
}