Skip to content

Reject out-of-bound symlink targets - #158

Open
alehlopeh wants to merge 1 commit into
max-mapper:masterfrom
alehlopeh:fix/symlink-target-traversal
Open

Reject out-of-bound symlink targets#158
alehlopeh wants to merge 1 commit into
max-mapper:masterfrom
alehlopeh:fix/symlink-target-traversal

Conversation

@alehlopeh

Copy link
Copy Markdown

Reject symlink entries whose resolved target falls outside the extraction directory. This prevents the path traversal described in GHSA-jmr9-qjv8-65gv while preserving symlinks that resolve within the destination.\n\nThe existing symlink fixture now verifies that extraction stops before creating the unsafe link. The AVA suite and both ESLint targets pass locally.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant