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 21, 2020

Conversation

gkmr507
Copy link
Owner

@gkmr507 gkmr507 commented Jul 21, 2020

The default behavior of PyYAML's yaml.load() method is unsafe and can execute code in yaml files.

The default behavior of PyYAML's yaml.load() method is unsafe and can execute code in yaml files.
@gkmr507 gkmr507 linked an issue Jul 21, 2020 that may be closed by this pull request
@gkmr507 gkmr507 closed this Jul 21, 2020
@gkmr507 gkmr507 reopened this Jul 21, 2020
@gkmr507 gkmr507 merged commit 9c0ae7a into master Jul 21, 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