mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-09-09 00:06:08 +08:00
[backport from Debian zip 3.0-16] https://sources.debian.org/data/main/z/zip/3.0-16/debian/patches/fix-command-injection.patch Info-ZIP 3.0 builds a shell command with the archive name when -T tests an archive. A crafted archive name can inject additional shell commands. Backport Debian's fix. Quote the archive name before it is added to the test command. Link: https://sintonen.fi/advisories/infozip-test-option-command-injection.txt Signed-off-by: Peter Polonec <polonec.devel@pm.me> Link: https://github.com/openwrt/openwrt/pull/24730 Signed-off-by: Robert Marko <robimarko@gmail.com>