A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory with...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSdracut |
< 044+3-3ubuntu0.1~esm1→ 044+3-3ubuntu0.1~esm1 |
044+3-3ubuntu0.1~esm1 |
| Ubuntu:Pro:18.04:LTSdracut |
< 047-2ubuntu0.1~esm1→ 047-2ubuntu0.1~esm1 |
047-2ubuntu0.1~esm1 |
| Ubuntu:Pro:20.04:LTSdracut |
< 048+80-2ubuntu0.1~esm1→ 048+80-2ubuntu0.1~esm1 |
048+80-2ubuntu0.1~esm1 |
| Ubuntu:Pro:22.04:LTSdracut |
< 051-1ubuntu0.1~esm1→ 051-1ubuntu0.1~esm1 |
051-1ubuntu0.1~esm1 |
| Ubuntu:24.04:LTSdracut |
< 060+5-1ubuntu3.4→ 060+5-1ubuntu3.4 |
060+5-1ubuntu3.4 |
| Ubuntu:26.04:LTSdracut |
< 110-11ubuntu0.1→ 110-11ubuntu0.1 |
110-11ubuntu0.1 |
Original description The description as published by the source.
A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory without properly shell-quoting it. When the message contains data derived from the DHCP ROOT_PATH option, an attacker on the adjacent network who controls a rogue DHCP server can inject a command-substitution sequence that executes as root the next time dracut sources its emergency hook scripts during standard boot-failure handling.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report access.redhat.com
- report bugzilla.redhat.com
- report bugzilla.redhat.com
- report github.com
- report github.com