Skip to content

Update chroot symlink check #765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 20, 2025

Conversation

tgauth
Copy link
Collaborator

@tgauth tgauth commented Nov 18, 2024

PR Summary

  • add check to symlink creation to ensure target path is inside chroot, when applicable, using existing logic from file_in_chroot_jail() and realpath()

PR Context

@tgauth tgauth merged commit 41734eb into PowerShell:latestw_all Feb 20, 2025
4 checks passed
@tgauth tgauth deleted the update-chroot-symlink branch February 20, 2025 21:26
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.

chroot escape in Win32 sftp-server
3 participants