{"schema_version":"1.3.1","id":"GO-2024-2494","modified":"2024-05-20T16:03:47Z","published":"2024-02-12T18:45:16Z","aliases":["CVE-2024-23652","GHSA-4v98-7qmw-rqr8"],"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.","affected":[{"package":{"name":"github.com/moby/buildkit","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.5"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/moby/buildkit/executor","symbols":["MountStubsCleaner"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8"},{"type":"FIX","url":"https://github.com/moby/buildkit/pull/4603"},{"type":"WEB","url":"https://github.com/moby/buildkit/releases/tag/v0.12.5"}],"credits":[{"name":"@rmcnamara-snyk"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-2494","review_status":"REVIEWED"}}