Skip to content

fix: Validate archive entry paths when unpacking EXECUTION_ENV_PATH#437

Open
pskiran1 wants to merge 1 commit into
mainfrom
spolisetty/tri-1019-psirt-triton-inference-server-zip-slip-in-python-backend
Open

fix: Validate archive entry paths when unpacking EXECUTION_ENV_PATH#437
pskiran1 wants to merge 1 commit into
mainfrom
spolisetty/tri-1019-psirt-triton-inference-server-zip-slip-in-python-backend

Conversation

@pskiran1
Copy link
Copy Markdown
Member

Adds ARCHIVE_EXTRACT_SECURE_NODOTDOT, ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS, and ARCHIVE_EXTRACT_SECURE_SYMLINKS to the libarchive options used when extracting the EXECUTION_ENV_PATH tarball, so that archive entries are placed under the model's per-stub extraction directory. Also checks the return of archive_write_disk_set_options and surfaces its error string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant