{"action":"created","issue":{"url":"https://api.github.com/repos/Equilibre/hal42/issues/1","labels_url":"https://api.github.com/repos/Equilibre/hal42/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Equilibre/hal42/issues/1/comments","events_url":"https://api.github.com/repos/Equilibre/hal42/issues/1/events","html_url":"https://github.com/Equilibre/hal42/issues/1","id":96793208,"number":1,"title":"Security flaw on exec in ping","user":{"login":"pouleta","id":979584,"avatar_url":"https://avatars.githubusercontent.com/u/979584?v=3","gravatar_id":"","url":"https://api.github.com/users/pouleta","html_url":"https://github.com/pouleta","followers_url":"https://api.github.com/users/pouleta/followers","following_url":"https://api.github.com/users/pouleta/following{/other_user}","gists_url":"https://api.github.com/users/pouleta/gists{/gist_id}","starred_url":"https://api.github.com/users/pouleta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouleta/subscriptions","organizations_url":"https://api.github.com/users/pouleta/orgs","repos_url":"https://api.github.com/users/pouleta/repos","events_url":"https://api.github.com/users/pouleta/events{/privacy}","received_events_url":"https://api.github.com/users/pouleta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Equilibre/hal42/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Emeraude","id":2932895,"avatar_url":"https://avatars.githubusercontent.com/u/2932895?v=3","gravatar_id":"","url":"https://api.github.com/users/Emeraude","html_url":"https://github.com/Emeraude","followers_url":"https://api.github.com/users/Emeraude/followers","following_url":"https://api.github.com/users/Emeraude/following{/other_user}","gists_url":"https://api.github.com/users/Emeraude/gists{/gist_id}","starred_url":"https://api.github.com/users/Emeraude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emeraude/subscriptions","organizations_url":"https://api.github.com/users/Emeraude/orgs","repos_url":"https://api.github.com/users/Emeraude/repos","events_url":"https://api.github.com/users/Emeraude/events{/privacy}","received_events_url":"https://api.github.com/users/Emeraude/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-23T11:38:42Z","updated_at":"2015-07-23T11:39:58Z","closed_at":null,"body":"The ping command has a security flaw\r\n\r\n```javascript\r\n\texec('ping -c 1 -W 2 ' + encodeURI(message.substring(6)) ...\r\n```\r\n\r\nthe message may contain malicious cmds, like \"8.8.8.8&&ls&&ls\" etc.\r\n\r\nThere is no way to add arguments to the command via a space, and we cannot dos with the yes command because of the timeout on the child process.\r\n"},"comment":{"url":"https://api.github.com/repos/Equilibre/hal42/issues/comments/124065767","html_url":"https://github.com/Equilibre/hal42/issues/1#issuecomment-124065767","issue_url":"https://api.github.com/repos/Equilibre/hal42/issues/1","id":124065767,"user":{"login":"pouleta","id":979584,"avatar_url":"https://avatars.githubusercontent.com/u/979584?v=3","gravatar_id":"","url":"https://api.github.com/users/pouleta","html_url":"https://github.com/pouleta","followers_url":"https://api.github.com/users/pouleta/followers","following_url":"https://api.github.com/users/pouleta/following{/other_user}","gists_url":"https://api.github.com/users/pouleta/gists{/gist_id}","starred_url":"https://api.github.com/users/pouleta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouleta/subscriptions","organizations_url":"https://api.github.com/users/pouleta/orgs","repos_url":"https://api.github.com/users/pouleta/repos","events_url":"https://api.github.com/users/pouleta/events{/privacy}","received_events_url":"https://api.github.com/users/pouleta/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T11:39:58Z","updated_at":"2015-07-23T11:39:58Z","body":"fucking use a regexp"}}