Podman Symlink Vulnerability
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/containers/podman/v4 Go |
|
|
| github.com/containers/libpod Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| github.com/containers/podman/v4 Go |
|
|
| github.com/containers/libpod Go |
|
|
|
| No fix yet |
| github.com/containers/podman/v2 Go |
| No fix yet |
| github.com/containers/podman/v3 Go |
| No fix yet |
An issue was discovered in Podman in libpod before 1.6.0. It resolves a symlink in the host context during a copy operation from the container to the host, because an undesired glob operation occurs. An attacker could create a container image containing particular symlinks that, when copied by a victim user to the host filesystem, may overwrite existing files with others from the host.
From the CVE record · mitre
Podman in libpod before 1.6.0 resolves a symlink on the host during a container-to-host copy because of an unintended glob operation. An attacker can place particular symlinks in a container image that may cause existing host files to be overwritten with other host files when a victim copies from the container.
Check users of Go packages github.com/containers/libpod and github.com/containers/podman/v4 before 1.6.0, and users of github.com/containers/podman, /v2, or /v3, for which no fix is listed.