You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dagger crashes if interface names has invalid characters #1655
Some examples:
/: Rejected by linux (dagger crashes)
;: Command execution (dagger may crash and code execution as root)
&&: Command execution (dagger may crash and code execution as root)
and more. We should have an allowlist.
admin@infix-00-00-00:/> configure
admin@infix-00-00-00:/config/> edit interface
admin@infix-00-00-00:/config/> set interface
e1 lo
admin@infix-00-00-00:/config/> set interface d;reboot
[ OK ] Saving system clock (UTC) to RTC
[ OK ] Saving system clock to file
[ OK ] Saving random seed
[ OK ] Stopping Device event daemon (udev)
[ OK ] Stopping Configuration daemon
[ OK ] Stopping DHCP/DNS proxy
[ OK ] Stopping CLI backend daemon
[ OK ] Stopping FRR MGMT daemon
The impact is either command execution or that you get a configuration you cant get from, since dagger crash on exit as well.
The security impact is limited, even if it looks bad.
changed the title [-]Dagger crashes if interface names with invalid chars[/-][+]Dagger crashes if interface names has invalid characters[/+]on Sep 24, 2026
Activity
[-]Dagger crashes if interface names with invalid chars[/-][+]Dagger crashes if interface names has invalid characters[/+]mattiaswal commentedon Sep 25, 2026
Manually create a interface named a" causing zebra to crash, so the problem is bigger than just input validation.
jovatn commentedon Sep 28, 2026
CCB: Introduce reasonable whitelist. (including : _ . - + ) Provide proposal, review and implement.
confd: restrict interface name to a safe character set
confd: restrict interface name to a safe character set
confd: restrict interface name to a safe character set