A flaw was found in dracut. A remote attacker on the adjacent network can exploit this vulnerability by providing specially crafted DHCP options, such as a malicious root-path, next-server, or bootfile name, to a system using dracut's NetworkManager-based initrd network module. These options are improperly handled and written into a temporary shell script without proper escaping, leading to command injection. This allows the attacker to achieve root code execution within the initramfs during system boot.
- CVSS:
- 7.5 (nvd)
- Vector:
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS:
- 3.22% (percentile 88.6)
- CWE:
- CWE-78
- Published:
- Modified:
- First seen:
- NVD status:
- Awaiting Analysis