Skip to content
Fencer Vulns
medium 5.3

CVE-2022-4122 json

Buildah (as part of Podman) vulnerable to Link Following

published 2022-12-08 3 y ago modified 2026-06-17 4 mo ago also GHSA-4crw-w8pw-2hmf , GO-2022-1151 , EUVD-2022-7501

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 58%
public exploits
0
none known

Summary

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

Patch / fix

  • go github.com/containers/podman/v4 4.5.0
  • podman RHEL 9 2:5.2.2-1.el9
  • podman-tests RHEL 9 2:5.2.2-1.el9
  • podman-docker RHEL 9 2:5.2.2-1.el9
  • podman-remote RHEL 9 2:5.2.2-1.el9
  • podman-plugins RHEL 9 2:5.2.2-1.el9
  • crit RHEL 8.8 EUS 3.15-4.module+el8.8.0+21741+dd5be1e7
  • criu RHEL 8.8 EUS 3.15-4.module+el8.8.0+21741+dd5be1e7
  • crun RHEL 8.8 EUS 1.8.4-2.module+el8.8.0+21741+dd5be1e7

red hat advisories RHSA-2024:9102RHSA-2024:2077

  • podman Rocky Linux 9 4:5.2.2-13.el9_5

rocky linux advisories RLSA-2024:9102

  • podman Azure Linux 3.0 5.6.1-2

azure linux advisories AZL-44526

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-4122 updated cvss 5.9

podman: Symlink error leads to information disclosure

  • Red Hat Enterprise Linux 7 podman, buildah
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +2 more
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4 buildah, buildah-tests
    affected: no fix available
  • Red Hat OpenShift Container Platform 3.11 podman Red Hat OpenShift Container Platform 4 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +2 more
    under investigation
  • Red Hat Enterprise Linux AppStream (v. 9) podman 5.2.2-1.el9, podman-tests 5.2.2-1.el9, podman-docker 5.2.2-1.el9, podman-remote 5.2.2-1.el9, podman-plugins 5.2.2-1.el9
    fixed: vendor fix RHSA-2024:9102
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) crit 3.15-4.module+el8.8.0+21741+dd5be1e7, criu 3.15-4.module+el8.8.0+21741+dd5be1e7, crun 1.8.4-2.module+el8.8.0+21741+dd5be1e7, runc 1.1.12-1.module+el8.8.0+21741+dd5be1e7, conmon 2.1.6-1.module+el8.8.0+21741+dd5be1e7, udica 0.2.6-20.module+el8.8.0+21741+dd5be1e7, +27 more
    fixed: vendor fix RHSA-2024:2077

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
go github.com/containers/podman/v4
<4.5.0
4.5.0
go github.com/containers/podman
all versions
no fix listed
go github.com/containers/podman/v2
all versions
no fix listed
go github.com/containers/podman/v3
all versions
no fix listed

Affected products

  • n/a podman

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.