A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm.
- CVSS:
- 7.8 (nvd)
- Vector:
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS:
- 0.73% (percentile 55.3)
- CWE:
- CWE-78
- Published:
- Modified:
- First seen:
- NVD status:
- Awaiting Analysis