mirror of
https://github.com/dokku/dokku.git
synced 2026-07-11 04:51:57 +02:00
Archives passed to git:from-archive and certs:add were extracted without symlink or path validation, allowing a crafted archive to write arbitrary files anywhere writable by the dokku user via symlink traversal. Extraction now pre-scans entries for absolute paths, parent traversal, and unsafe symlinks, applies the GNU tar `--no-unsafe-links` flag when available, and validates symlinks after extraction.
2.6 KiB
Executable File
2.6 KiB
Executable File