Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. Summary: When the linux_sockets PMDA is loaded as a DSO inside PMCD, code execution achieved via Vulnerability 3 (network.persocket.filter injection) can be escalated from user pcp to root. The pmdarootfd Unix socket connection to pmdaroot is created without O_CLOEXEC, causing all child processes spawned by popen() to inherit it. pmdaroot runs as root and processes PDUROOT_STARTPMDA_REQ without per-request authentication, executing attacker-controlled arguments via execvp() as root. Prerequisites: • Vulnerability 3 (linux_sockets command injection) required for initial code execution - exploitable either locally via pmcd (TCP 44321, localhost only by default) or remotely via the pmproxy REST API (TCP 44322, all interfaces by default, no authentication required). linux_sockets • PMDA loaded as DSO in PMCD (requires explicit configuration in pmcd.conf; default is daemon mode).
This CVE has been addressed in the new pcp-7.2.0-1 RPM builds available for Fedora Rawhide, Fedora 44, and Fedora 43.