Skip to content
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

Use yaml.safe_load() instead of unsafe yaml.load() #2

Merged
merged 1 commit into from
Jul 13, 2020
Merged

Conversation

gkmr507
Copy link
Owner

@gkmr507 gkmr507 commented Jul 13, 2020

yaml.load() method is unsafe and can execute code in yaml files.
yaml.safe_load() should be used instead

yaml.load() method is unsafe and can execute code in yaml files.
yaml.safe_load() should be used instead
@gkmr507 gkmr507 linked an issue Jul 13, 2020 that may be closed by this pull request
@gkmr507 gkmr507 changed the title Unsafe usage of PyYAML yaml.load() Use yaml.safe_load() instead of unsafe yaml.load() Jul 13, 2020
@gkmr507 gkmr507 merged commit 131bdeb into master Jul 13, 2020
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.

Unsafe usage of PyYAML yaml.load()
1 participant