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 for config file parsing. #18

Merged
merged 1 commit into from Feb 4, 2013

Conversation

rfk
Copy link
Contributor

@rfk rfk commented Feb 4, 2013

yaml.load() allows arbitrary code execution in the same manner as pickle, so it seems better to use yaml.safe_load() in this context.

I don't think there's an actual security issue, since the whole point of marteau is to run arbitrary code. But better safe than sorry...

@tarekziade
Copy link
Contributor

thx

tarekziade added a commit that referenced this pull request Feb 4, 2013
Use yaml.safe_load for config file parsing.
@tarekziade tarekziade merged commit 60b5a02 into master Feb 4, 2013
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.

None yet

2 participants