| { |
| "schema_version": "1.3.1", |
| "id": "GO-2024-2494", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "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" |
| } |
| } |