Rpm: command execution via macro expansion in `rpmuncompress -x` for crafted `.gem` filenames
Red Hat / Red Hat Enterprise Linux 10、Red Hat Hardened Images、Red Hat Enterprise Linux 6、Red Hat Enterprise Linux 7、Red Hat Enterprise Linux 8、Red Hat Enterprise Linux 9 +1
A flaw was found in rpm. A local attacker could supply a specially crafted .gem filename containing RPM macro syntax. When a user or automated workflow invokes rpmuncompress -x on this file, the macro expansion occurs during command construction. This allows the attacker to execute arbitrary commands with the privileges of the invoking account, leading to a compromise of confidentiality, integrity, and availability.