Skip to content
OpenAdvisories
Medium · 5.3 CVE-2022-4122 EUVD-2022-7501GHSA-4crw-w8pw-2hmfGO-2022-1151

Buildah (as part of Podman) vulnerable to Link Following

Published Dec 8, 2022 · Updated Apr 22, 2025 · Assigned by redhat

Description

A vulnerability was found in buildah. Incorrect following of symlinks while reading .containerignore and .dockerignore results in information disclosure.

Affected products

VendorProductAffectedFixed
— podman Podman 4.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-containers-buildah No fix yet —
Debian 13 golang-github-containers-buildah No fix yet —
Debian 12 golang-github-containers-buildah No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-containers-buildah No fix yet —
Ubuntu 25.10 golang-github-containers-buildah No fix yet —
Ubuntu 22.04 LTS golang-github-containers-buildah No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS golang-github-containers-buildah No fix yet —
Ubuntu Pro 24.04 LTS golang-github-containers-buildah No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 podman +4 2:5.2.2-1.el9 RHSA-2024:9102
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.8 EUS aardvark-dns 2:1.5.0-2.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS buildah +1 1:1.29.3-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS cockpit-podman 63.1-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS conmon 3:2.1.6-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS container-selinux 2:2.229.0-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS containernetworking-plugins 1:1.2.0-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS containers-common 2:1-65.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS crit +4 3.15-4.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS crun 1.8.4-2.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS fuse-overlayfs 1.11-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS libslirp +1 4.4.0-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS netavark 2:1.5.1-3.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS oci-seccomp-bpf-hook 1.2.8-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS podman +6 3:4.4.1-19.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS python-podman +1 4.4.1-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS runc 1:1.1.12-1.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS skopeo +1 2:1.11.2-0.2.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS slirp4netns 1.2.0-3.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS toolbox +1 0.0.99.3-7.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077
RHEL 8.8 EUS udica 0.2.6-20.module+el8.8.0+21741+dd5be1e7 RHSA-2024:2077

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 podman 4:5.2.2-13.el9_5 RLSA-2024:9102

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 podman 5.6.1-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 podman +4 4:5.2.2-1.0.2.el9 ELSA-2024-9102

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containers/podman all versions — GO-2022-1151
Go github.com/containers/podman/v2 all versions — GO-2022-1151
Go github.com/containers/podman/v3 all versions — GO-2022-1151
Go github.com/containers/podman/v4 < 4.5.0 4.5.0 GHSA-4crw-w8pw-2hmf

Advisories 4

References