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
- github.com/containers/podman@c8eeab2 commit
- github.com/containers/podman#16315 pull request
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, buildahaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +2 moreaffected: no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 buildah, buildah-testsaffected: 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 moreunder 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.el9fixed: 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 morefixed: 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
-
github.com
/containers/podman/pull/16315
web, patch, third-party-advisory
-
github.com
/containers/podman/commit/c8eeab21cf0a4f670be0cd399dd06fd5d4e06dfe
web, patch
-
bugzilla.redhat.com
/show_bug.cgi?id=2144983
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-4122
advisory
-
github.com
/advisories/GHSA-4crw-w8pw-2hmf
advisory
Sources
- CVE List CVE-2022-4122
- GitHub Advisory GHSA-4crw-w8pw-2hmf
- NVD CVE-2022-4122
- OSV GO-2022-1151
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.