mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 13:35:12 +09:00
The hostname parameter was concatenated into a bash -c string executed as root via run_privileged(). Validate the hostname against a strict charset and pipe debconf selections via stdin so no user input ever reaches a shell command line. Co-authored-by: tonghuaroot <tonghuaroot@gmail.com>