CVE-2022-4122
podman: Symlink error leads to information disclosure
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 22, 2022
Updated · November 4, 2026
Description
A vulnerability was found in buildah and podman. Incorrect following of symlinks while reading .containerignore and .dockerignore results in information disclosure.
Statement
These bugs come about when "podman --remote build ..." is run, thus affecting buildah, but the bug itself needs to be fixed in podman, and ported to Buildah.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
CWE-59 · Improper Link Resolution Before File Access