CVE-2022-4123 Buildah (as part of Podman) vulnerable to Path Traversal
Attackers can disclose local paths and subdirectories via incorrect absolute path traversal in Buildah, impacting confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-4123?
CVE-2022-4123 is a low-severity path traversal vulnerability in Fedoraproject Fedora, published on 8 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in Buildah. The local path and the lowest subdirectory may be disclosed due to incorrect absolute path traversal, resulting in an impact to confidentiality.
Which versions are affected by CVE-2022-4123?
3 open source packages ship an affected version, including github.com/containers/podman/v4. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/containers/podman/v4 Go | From 4.1.0-rc1 | None |
github.com/containers/podman/v4 Go | From 4.1.0-rc1 to 4.4.1 | None |
github.com/containers/podman/v4 Go | From 4.1.0-rc1 to 4.4.1 | None |
Products include Fedoraproject Fedora, Podman Project Podman.
How do I fix CVE-2022-4123?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-4123 being exploited?
There is no known exploitation of CVE-2022-4123 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-11587, AZL-36977, DEBIAN-CVE-2022-4123, GHSA-rprg-4v7q-87v7, GO-2022-1159, UBUNTU-CVE-2022-4123.