{"action":"opened","issue":{"url":"https://api.github.com/repos/rabobank-cdc/Blue-ATTACK/issues/1","repository_url":"https://api.github.com/repos/rabobank-cdc/Blue-ATTACK","labels_url":"https://api.github.com/repos/rabobank-cdc/Blue-ATTACK/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rabobank-cdc/Blue-ATTACK/issues/1/comments","events_url":"https://api.github.com/repos/rabobank-cdc/Blue-ATTACK/issues/1/events","html_url":"https://github.com/rabobank-cdc/Blue-ATTACK/issues/1","id":428006874,"node_id":"MDU6SXNzdWU0MjgwMDY4NzQ=","number":1,"title":"use of yaml.load","user":{"login":"trevorgould","id":16927773,"node_id":"MDQ6VXNlcjE2OTI3Nzcz","avatar_url":"https://avatars3.githubusercontent.com/u/16927773?v=4","gravatar_id":"","url":"https://api.github.com/users/trevorgould","html_url":"https://github.com/trevorgould","followers_url":"https://api.github.com/users/trevorgould/followers","following_url":"https://api.github.com/users/trevorgould/following{/other_user}","gists_url":"https://api.github.com/users/trevorgould/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorgould/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorgould/subscriptions","organizations_url":"https://api.github.com/users/trevorgould/orgs","repos_url":"https://api.github.com/users/trevorgould/repos","events_url":"https://api.github.com/users/trevorgould/events{/privacy}","received_events_url":"https://api.github.com/users/trevorgould/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-02T03:29:17Z","updated_at":"2019-04-02T03:29:17Z","closed_at":null,"author_association":"NONE","body":"in the generic.py file, the use of yaml.load can be used to arbitrarily execute code, I would recommend switching it to yaml.safe_load. The code in question is as follows.\r\n\r\n with open(filename, 'r') as yaml_file:\r\n        try:\r\n            yaml_content = yaml.load(yaml_file, Loader=yaml.FullLoader)"}}
{"actor":{"display_login":"trevorgould"}}