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

Unsafe usage of PyYAML yaml.load() #1

Closed
gkmr507 opened this issue Jul 21, 2020 · 0 comments · Fixed by #2
Closed

Unsafe usage of PyYAML yaml.load() #1

gkmr507 opened this issue Jul 21, 2020 · 0 comments · Fixed by #2

Comments

@gkmr507
Copy link
Owner

gkmr507 commented Jul 21, 2020

The default behavior of PyYAML's yaml.load() method is unsafe and can execute code in yaml files.
yaml.safe_load() should be used instead:yaml/pyyaml#193 (comment)

https://github.com/itiskrishnas/design-tokens/blob/153bcc802dd0caea3aa6413d6f4d79ff2025eeeb/utils/automatic-release/lib/defineVersion/index.js#L20

@gkmr507 gkmr507 linked a pull request Jul 21, 2020 that will close this issue
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 a pull request may close this issue.

1 participant