CVE-2019-18466
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.
What to do
Fixed builds are available from AlmaLinux, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Go has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 8 | buildah | Fixed | 0:1.9.0-5.module+el8.1.0+4240+893c1ab8 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 0:1.9.0-5.module+el8.1.0+4240+893c1ab8 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:4-1.module+el8.1.0+4081+b29780af | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.123.0-2.module+el8.1.0+4900+9d7326b8 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 0:0.8.1-3.module+el8.1.0+4881+045289ee | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 1:0.1.37-6.module+el8.1.0+4876+e678a192 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:0.4.1-1.module+el8.1.0+4081+b29780af | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | oci-systemd-hook | Fixed | 1:0.1.15-2.git2d0b8a3.module+el8.1.0+4081+b29780af | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | oci-umount | Fixed | 2:2.3.4-2.git87f9237.module+el8.1.0+4081+b29780af | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | podman | Fixed | 0:1.4.2-6.module+el8.1.0+4830+f49150d7 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 0:1.4.2-6.module+el8.1.0+4830+f49150d7 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Fixed | 0:1.4.2-6.module+el8.1.0+4830+f49150d7 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 0:1.4.2-6.module+el8.1.0+4830+f49150d7 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 0:1.4.2-6.module+el8.1.0+4830+f49150d7 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | python-podman-api | Fixed | 0:1.2.0-0.1.gitd0a45fe.module+el8.1.0+4081+b29780af | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | runc | Fixed | 0:1.0.0-61.rc8.module+el8.1.0+4873+4a24e241 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 1:0.1.37-6.module+el8.1.0+4876+e678a192 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 1:0.1.37-6.module+el8.1.0+4876+e678a192 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:0.3.0-4.module+el8.1.0+4306+1d917805 | RHSA-2019:4269 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.4-1.module+el8.1.0+4081+b29780af | RHSA-2019:4269 |
| AlmaLinux 8 | oci-systemd-hook | Fixed | 1:0.1.15-2.git2d0b8a3.module_el8.3.0+2044+12421f43 | ALSA-2019:4269 |
| AlmaLinux 8 | oci-umount | Fixed | 2:2.3.4-2.git87f9237.module_el8.3.0+2044+12421f43 | ALSA-2019:4269 |
| Rocky Linux 8 | oci-systemd-hook | Fixed | 1:0.1.15-2.git2d0b8a3.module+el8.4.0+557+48ba8b2f | RLSA-2019:4269 |
| Rocky Linux 8 | oci-umount | Fixed | 2:2.3.4-2.git87f9237.module+el8.4.0+557+48ba8b2f | RLSA-2019:4269 |
| Go library | github.com/containers/libpod | Fixed | 1.6.0 | GO-2023-1942 |
| Go library | github.com/containers/podman | Fix pending | GO-2023-1942 | |
| Go library | github.com/containers/podman/v2 | Fix pending | GO-2023-1942 | |
| Go library | github.com/containers/podman/v3 | Fix pending | GO-2023-1942 | |
| Go library | github.com/containers/podman/v4 | Fixed | 1.6.0 | GHSA-r34v-gqmw-qvgj |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:4269 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00040.html (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1744588
- https://github.com/containers/libpod/issues/3829
- https://github.com/containers/libpod/commit/5c09c4d2947a759724f9d5aef6bac04317e03f7e
- https://github.com/containers/libpod/compare/v1.5.1...v1.6.0
- https://access.redhat.com/errata/RHSA-2019:4269
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00040.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.