Advisory

GO-2024-2658

Also known as: CVE-2024-1753, GHSA-874v-pj72-92f3, GHSA-pmf3-c36m-g5cf

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.

Severity

Not rated by the source.

Dates

Published
2024-03-22 16:47 UTC
Modified
2026-02-04 02:20 UTC

Affected packages and fixes

github.com/containers/buildah

Go · All systems

Affected

  • introduced 0, fixed 1.35.1 (semver)

Fixed versions

1.35.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences