Files
openwrt/tools/zip
Peter Polonec 56c6654957 tools: zip: fix command injection in -T
[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>
2026-08-17 10:36:17 +02:00
..