A flaw was found in dracut. A remote attacker on the adjacent network can exploit this vulnerability by providing specially crafted DHCP options, such...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:22.04:LTSdracut |
< 051-1ubuntu0.1~esm1→ 051-1ubuntu0.1~esm1 |
051-1ubuntu0.1~esm1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report bugzilla.redhat.com