{"action":"created","issue":{"url":"https://api.github.com/repos/boto/boto/issues/3097","labels_url":"https://api.github.com/repos/boto/boto/issues/3097/labels{/name}","comments_url":"https://api.github.com/repos/boto/boto/issues/3097/comments","events_url":"https://api.github.com/repos/boto/boto/issues/3097/events","html_url":"https://github.com/boto/boto/pull/3097","id":68429611,"number":3097,"title":"[security] - Replace yaml.load() with yaml.safe_load() for security reasons.","user":{"login":"pwnetrationguru","id":4723303,"avatar_url":"https://avatars.githubusercontent.com/u/4723303?v=3","gravatar_id":"","url":"https://api.github.com/users/pwnetrationguru","html_url":"https://github.com/pwnetrationguru","followers_url":"https://api.github.com/users/pwnetrationguru/followers","following_url":"https://api.github.com/users/pwnetrationguru/following{/other_user}","gists_url":"https://api.github.com/users/pwnetrationguru/gists{/gist_id}","starred_url":"https://api.github.com/users/pwnetrationguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwnetrationguru/subscriptions","organizations_url":"https://api.github.com/users/pwnetrationguru/orgs","repos_url":"https://api.github.com/users/pwnetrationguru/repos","events_url":"https://api.github.com/users/pwnetrationguru/events{/privacy}","received_events_url":"https://api.github.com/users/pwnetrationguru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T16:21:30Z","updated_at":"2015-05-01T19:40:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/boto/boto/pulls/3097","html_url":"https://github.com/boto/boto/pull/3097","diff_url":"https://github.com/boto/boto/pull/3097.diff","patch_url":"https://github.com/boto/boto/pull/3097.patch"},"body":"```yaml.load()``` has well known security weaknesses that can led to remote code execution if untrusted data is used with ```yaml.load()``` [0].\r\n\r\nInstead, ```yaml.safe_load``` should be used - there are good examples of how ```yaml.load()``` can be abused at [0].\r\n\r\nThis PR replaces the one instance of ```yaml.load()``` with ```yaml.safe_load()```. I also checked the boto3 development repo, but didn't see any instances of ```yaml.load()```\r\n\r\n[0] https://github.com/hyakuhei/OSSG-Security-Practices/blob/master/bandit/yaml.md"},"comment":{"url":"https://api.github.com/repos/boto/boto/issues/comments/98215165","html_url":"https://github.com/boto/boto/pull/3097#issuecomment-98215165","issue_url":"https://api.github.com/repos/boto/boto/issues/3097","id":98215165,"user":{"login":"pwnetrationguru","id":4723303,"avatar_url":"https://avatars.githubusercontent.com/u/4723303?v=3","gravatar_id":"","url":"https://api.github.com/users/pwnetrationguru","html_url":"https://github.com/pwnetrationguru","followers_url":"https://api.github.com/users/pwnetrationguru/followers","following_url":"https://api.github.com/users/pwnetrationguru/following{/other_user}","gists_url":"https://api.github.com/users/pwnetrationguru/gists{/gist_id}","starred_url":"https://api.github.com/users/pwnetrationguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwnetrationguru/subscriptions","organizations_url":"https://api.github.com/users/pwnetrationguru/orgs","repos_url":"https://api.github.com/users/pwnetrationguru/repos","events_url":"https://api.github.com/users/pwnetrationguru/events{/privacy}","received_events_url":"https://api.github.com/users/pwnetrationguru/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T19:40:47Z","updated_at":"2015-05-01T19:40:47Z","body":"@garnaat, @danielgtaylor, @jamesls and @mfschwartz \r\n\r\nAny chance on getting this prioritized since it's security related? :)\r\n\r\nSorry for the broadcast."}}