-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Arbitrary file write during tarfile extraction in luigi/contrib/sge_runner.py
#3301
Comments
Ali-Razmjoo
added a commit
to Ali-Razmjoo/luigi
that referenced
this issue
Sep 4, 2024
Ali-Razmjoo
added a commit
to Ali-Razmjoo/luigi
that referenced
this issue
Sep 6, 2024
Ali-Razmjoo
added a commit
to Ali-Razmjoo/luigi
that referenced
this issue
Sep 6, 2024
Ali-Razmjoo
added a commit
to Ali-Razmjoo/luigi
that referenced
this issue
Sep 6, 2024
Ali-Razmjoo
added a commit
to Ali-Razmjoo/luigi
that referenced
this issue
Sep 6, 2024
Ali-Razmjoo
added a commit
to Ali-Razmjoo/luigi
that referenced
this issue
Sep 6, 2024
fixed in #3309 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am reporting a potential security issue with arbitrary file write during tarfile extraction in
https://github.com/spotify/luigi/blob/master/luigi/contrib/sge_runner.py#L67-L70
Extracting files from a malicious tar archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten, due to the possible presence of directory traversal elements (..) in archive paths.
..\malicious_file
c:\malicious_file
/etc/passwd
Recommendation
References
The text was updated successfully, but these errors were encountered: