For containers which utilize user namepsaces, running 'podman top' triggers the nsenter binary inside a container. The root issue is in github.com/containers/psgo. Podman top doesn't join the user namespace of the container. This could enable an attacker to create a malicious nsenter binary which provides erroneous results to podman top, make syscalls, and other operations beyond what is normally allowed for the container.
Patch: https://github.com/containers/psgo/pull/92
Upstream podman issue: https://github.com/containers/podman/issues/10941
Created podman tracking bugs for this issue: Affects: fedora-all [bug 2074164] Created podman-tui tracking bugs for this issue: Affects: fedora-all [bug 2074165]
Created cri-o:1.17/cri-o tracking bugs for this issue: Affects: fedora-all [bug 2074725] Created cri-o:1.18/cri-o tracking bugs for this issue: Affects: fedora-all [bug 2074726] Created cri-o:1.19/cri-o tracking bugs for this issue: Affects: fedora-all [bug 2074727] Created cri-o:1.20/cri-o tracking bugs for this issue: Affects: fedora-all [bug 2074728] Created cri-o:1.21/cri-o tracking bugs for this issue: Affects: fedora-all [bug 2074729] Created cri-o:1.22/cri-o tracking bugs for this issue: Affects: fedora-all [bug 2074730] Created cri-o:nightly/cri-o tracking bugs for this issue: Affects: fedora-all [bug 2074731]
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:1762 https://access.redhat.com/errata/RHSA-2022:1762
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:2143 https://access.redhat.com/errata/RHSA-2022:2143
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Extras Via RHSA-2022:2190 https://access.redhat.com/errata/RHSA-2022:2190
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2022:4651 https://access.redhat.com/errata/RHSA-2022:4651
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.6 Via RHSA-2022:2263 https://access.redhat.com/errata/RHSA-2022:2263
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Extended Update Support Via RHSA-2022:4816 https://access.redhat.com/errata/RHSA-2022:4816
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Extended Update Support Via RHSA-2022:5622 https://access.redhat.com/errata/RHSA-2022:5622
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2022-1227