github.com/cri-o/cri-o is vulnerable to Privilege Escalation. The vulnerability exists because the setupContainerUser
function in container_create.go
does not properly validate the homedir
parameter, allowing an attacker to maliciously craft an environment variable with newlines to add entries to a container’s /etc/passwd
.
access.redhat.com/errata/RHSA-2023:1033
access.redhat.com/errata/RHSA-2023:1503
access.redhat.com/security/cve/CVE-2022-4318
bugzilla.redhat.com/show_bug.cgi?id=2152703
github.com/advisories/GHSA-cm9x-c3rh-7rc4
github.com/cri-o/cri-o/commit/41dca27cb53bca3c9255287f53e241b9d3bfd7de
github.com/cri-o/cri-o/pull/6450