luci-proto-wireguard: fixed a vulnerability in the checkPeerHost method
authorTom Haley <this_username_has_been_taken2@proton.me>
Wed, 4 Dec 2024 19:19:25 +0000 (22:19 +0300)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 5 Dec 2024 17:09:39 +0000 (18:09 +0100)
commit101ea169c6af90c0aeaff6655b906b6d40155924
tree6069752528cf56f24ae21b34549dd5ea5f57437d
parente76155d09484602e2b02e84bb8ffafa4848798f0
luci-proto-wireguard: fixed a vulnerability in the checkPeerHost method

shellquote method is introduced so an injected code cannot be executed by the popen command.

Signed-off-by: Tom Haley <this_username_has_been_taken2@proton.me>
protocols/luci-proto-wireguard/root/usr/share/rpcd/ucode/luci.wireguard