Skip to content

Update auto_translator.py to fix the Path Traversal Vulnerability#108

Merged
hiddify-com merged 1 commit into
hiddify:mainfrom
Hiiirad:patch-1
Oct 29, 2023
Merged

Update auto_translator.py to fix the Path Traversal Vulnerability#108
hiddify-com merged 1 commit into
hiddify:mainfrom
Hiiirad:patch-1

Conversation

@Hiiirad

@Hiiirad Hiiirad commented Oct 29, 2023

Copy link
Copy Markdown
Contributor

This PR fixes the unsanitized input from a command line argument into open(), where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to read arbitrary files.

@hiddify-com hiddify-com merged commit d5dc2da into hiddify:main Oct 29, 2023
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.

2 participants