{"action":"closed","number":2202,"pull_request":{"url":"https://api.github.com/repos/dmlc/tvm/pulls/2202","id":234894620,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0ODk0NjIw","html_url":"https://github.com/dmlc/tvm/pull/2202","diff_url":"https://github.com/dmlc/tvm/pull/2202.diff","patch_url":"https://github.com/dmlc/tvm/pull/2202.patch","issue_url":"https://api.github.com/repos/dmlc/tvm/issues/2202","number":2202,"state":"closed","locked":false,"title":"Python security issue about mktemp() and abspath()","user":{"login":"lihaozhehw","id":45391385,"node_id":"MDQ6VXNlcjQ1MzkxMzg1","avatar_url":"https://avatars3.githubusercontent.com/u/45391385?v=4","gravatar_id":"","url":"https://api.github.com/users/lihaozhehw","html_url":"https://github.com/lihaozhehw","followers_url":"https://api.github.com/users/lihaozhehw/followers","following_url":"https://api.github.com/users/lihaozhehw/following{/other_user}","gists_url":"https://api.github.com/users/lihaozhehw/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaozhehw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaozhehw/subscriptions","organizations_url":"https://api.github.com/users/lihaozhehw/orgs","repos_url":"https://api.github.com/users/lihaozhehw/repos","events_url":"https://api.github.com/users/lihaozhehw/events{/privacy}","received_events_url":"https://api.github.com/users/lihaozhehw/received_events","type":"User","site_admin":false},"body":"Python security issue about mktemp() and abspath()\r\nWith abspath, an attacker can exploit a directory traversal or an equivalent path to attack, making it safer to use realpath.\r\nThe temporary file name returned by the mktemp function contains the process ID number, which makes the temporary file name easy to guess. An attacker could exploit this vulnerability to perform a symbolic link attack. Use mkstemp to replace it safer","created_at":"2018-11-30T07:23:14Z","updated_at":"2018-12-01T00:05:32Z","closed_at":"2018-12-01T00:05:32Z","merged_at":"2018-12-01T00:05:32Z","merge_commit_sha":"bd44fe03ecdda9107567ec6ab4a6d1d519d0ee1d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Laurawly","id":3700467,"node_id":"MDQ6VXNlcjM3MDA0Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/3700467?v=4","gravatar_id":"","url":"https://api.github.com/users/Laurawly","html_url":"https://github.com/Laurawly","followers_url":"https://api.github.com/users/Laurawly/followers","following_url":"https://api.github.com/users/Laurawly/following{/other_user}","gists_url":"https://api.github.com/users/Laurawly/gists{/gist_id}","starred_url":"https://api.github.com/users/Laurawly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laurawly/subscriptions","organizations_url":"https://api.github.com/users/Laurawly/orgs","repos_url":"https://api.github.com/users/Laurawly/repos","events_url":"https://api.github.com/users/Laurawly/events{/privacy}","received_events_url":"https://api.github.com/users/Laurawly/received_events","type":"User","site_admin":false},{"login":"Huyuwei","id":17470319,"node_id":"MDQ6VXNlcjE3NDcwMzE5","avatar_url":"https://avatars2.githubusercontent.com/u/17470319?v=4","gravatar_id":"","url":"https://api.github.com/users/Huyuwei","html_url":"https://github.com/Huyuwei","followers_url":"https://api.github.com/users/Huyuwei/followers","following_url":"https://api.github.com/users/Huyuwei/following{/other_user}","gists_url":"https://api.github.com/users/Huyuwei/gists{/gist_id}","starred_url":"https://api.github.com/users/Huyuwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huyuwei/subscriptions","organizations_url":"https://api.github.com/users/Huyuwei/orgs","repos_url":"https://api.github.com/users/Huyuwei/repos","events_url":"https://api.github.com/users/Huyuwei/events{/privacy}","received_events_url":"https://api.github.com/users/Huyuwei/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmlc/tvm/pulls/2202/commits","review_comments_url":"https://api.github.com/repos/dmlc/tvm/pulls/2202/comments","review_comment_url":"https://api.github.com/repos/dmlc/tvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmlc/tvm/issues/2202/comments","statuses_url":"https://api.github.com/repos/dmlc/tvm/statuses/64092e8b5fc9f89a27a6aa1c480a5554277f42aa","head":{"label":"lihaozhehw:master","ref":"master","sha":"64092e8b5fc9f89a27a6aa1c480a5554277f42aa","user":{"login":"lihaozhehw","id":45391385,"node_id":"MDQ6VXNlcjQ1MzkxMzg1","avatar_url":"https://avatars3.githubusercontent.com/u/45391385?v=4","gravatar_id":"","url":"https://api.github.com/users/lihaozhehw","html_url":"https://github.com/lihaozhehw","followers_url":"https://api.github.com/users/lihaozhehw/followers","following_url":"https://api.github.com/users/lihaozhehw/following{/other_user}","gists_url":"https://api.github.com/users/lihaozhehw/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaozhehw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaozhehw/subscriptions","organizations_url":"https://api.github.com/users/lihaozhehw/orgs","repos_url":"https://api.github.com/users/lihaozhehw/repos","events_url":"https://api.github.com/users/lihaozhehw/events{/privacy}","received_events_url":"https://api.github.com/users/lihaozhehw/received_events","type":"User","site_admin":false},"repo":{"id":159331425,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkzMzE0MjU=","name":"tvm","full_name":"lihaozhehw/tvm","private":false,"owner":{"login":"lihaozhehw","id":45391385,"node_id":"MDQ6VXNlcjQ1MzkxMzg1","avatar_url":"https://avatars3.githubusercontent.com/u/45391385?v=4","gravatar_id":"","url":"https://api.github.com/users/lihaozhehw","html_url":"https://github.com/lihaozhehw","followers_url":"https://api.github.com/users/lihaozhehw/followers","following_url":"https://api.github.com/users/lihaozhehw/following{/other_user}","gists_url":"https://api.github.com/users/lihaozhehw/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaozhehw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaozhehw/subscriptions","organizations_url":"https://api.github.com/users/lihaozhehw/orgs","repos_url":"https://api.github.com/users/lihaozhehw/repos","events_url":"https://api.github.com/users/lihaozhehw/events{/privacy}","received_events_url":"https://api.github.com/users/lihaozhehw/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lihaozhehw/tvm","description":"Open deep learning compiler stack for cpu, gpu and specialized accelerators","fork":true,"url":"https://api.github.com/repos/lihaozhehw/tvm","forks_url":"https://api.github.com/repos/lihaozhehw/tvm/forks","keys_url":"https://api.github.com/repos/lihaozhehw/tvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lihaozhehw/tvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lihaozhehw/tvm/teams","hooks_url":"https://api.github.com/repos/lihaozhehw/tvm/hooks","issue_events_url":"https://api.github.com/repos/lihaozhehw/tvm/issues/events{/number}","events_url":"https://api.github.com/repos/lihaozhehw/tvm/events","assignees_url":"https://api.github.com/repos/lihaozhehw/tvm/assignees{/user}","branches_url":"https://api.github.com/repos/lihaozhehw/tvm/branches{/branch}","tags_url":"https://api.github.com/repos/lihaozhehw/tvm/tags","blobs_url":"https://api.github.com/repos/lihaozhehw/tvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lihaozhehw/tvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lihaozhehw/tvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/lihaozhehw/tvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lihaozhehw/tvm/statuses/{sha}","languages_url":"https://api.github.com/repos/lihaozhehw/tvm/languages","stargazers_url":"https://api.github.com/repos/lihaozhehw/tvm/stargazers","contributors_url":"https://api.github.com/repos/lihaozhehw/tvm/contributors","subscribers_url":"https://api.github.com/repos/lihaozhehw/tvm/subscribers","subscription_url":"https://api.github.com/repos/lihaozhehw/tvm/subscription","commits_url":"https://api.github.com/repos/lihaozhehw/tvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/lihaozhehw/tvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/lihaozhehw/tvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/lihaozhehw/tvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/lihaozhehw/tvm/contents/{+path}","compare_url":"https://api.github.com/repos/lihaozhehw/tvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lihaozhehw/tvm/merges","archive_url":"https://api.github.com/repos/lihaozhehw/tvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lihaozhehw/tvm/downloads","issues_url":"https://api.github.com/repos/lihaozhehw/tvm/issues{/number}","pulls_url":"https://api.github.com/repos/lihaozhehw/tvm/pulls{/number}","milestones_url":"https://api.github.com/repos/lihaozhehw/tvm/milestones{/number}","notifications_url":"https://api.github.com/repos/lihaozhehw/tvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lihaozhehw/tvm/labels{/name}","releases_url":"https://api.github.com/repos/lihaozhehw/tvm/releases{/id}","deployments_url":"https://api.github.com/repos/lihaozhehw/tvm/deployments","created_at":"2018-11-27T12:22:59Z","updated_at":"2018-11-30T08:30:08Z","pushed_at":"2018-11-30T08:30:06Z","git_url":"git://github.com/lihaozhehw/tvm.git","ssh_url":"git@github.com:lihaozhehw/tvm.git","clone_url":"https://github.com/lihaozhehw/tvm.git","svn_url":"https://github.com/lihaozhehw/tvm","homepage":"https://tvm.ai","size":8928,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dmlc:master","ref":"master","sha":"04f7a18320020496303676d7fbb8f53451c55e67","user":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"repo":{"id":70746484,"node_id":"MDEwOlJlcG9zaXRvcnk3MDc0NjQ4NA==","name":"tvm","full_name":"dmlc/tvm","private":false,"owner":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dmlc/tvm","description":"Open deep learning compiler stack for cpu, gpu and specialized accelerators","fork":false,"url":"https://api.github.com/repos/dmlc/tvm","forks_url":"https://api.github.com/repos/dmlc/tvm/forks","keys_url":"https://api.github.com/repos/dmlc/tvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlc/tvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlc/tvm/teams","hooks_url":"https://api.github.com/repos/dmlc/tvm/hooks","issue_events_url":"https://api.github.com/repos/dmlc/tvm/issues/events{/number}","events_url":"https://api.github.com/repos/dmlc/tvm/events","assignees_url":"https://api.github.com/repos/dmlc/tvm/assignees{/user}","branches_url":"https://api.github.com/repos/dmlc/tvm/branches{/branch}","tags_url":"https://api.github.com/repos/dmlc/tvm/tags","blobs_url":"https://api.github.com/repos/dmlc/tvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlc/tvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlc/tvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlc/tvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlc/tvm/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlc/tvm/languages","stargazers_url":"https://api.github.com/repos/dmlc/tvm/stargazers","contributors_url":"https://api.github.com/repos/dmlc/tvm/contributors","subscribers_url":"https://api.github.com/repos/dmlc/tvm/subscribers","subscription_url":"https://api.github.com/repos/dmlc/tvm/subscription","commits_url":"https://api.github.com/repos/dmlc/tvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlc/tvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlc/tvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlc/tvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlc/tvm/contents/{+path}","compare_url":"https://api.github.com/repos/dmlc/tvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlc/tvm/merges","archive_url":"https://api.github.com/repos/dmlc/tvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlc/tvm/downloads","issues_url":"https://api.github.com/repos/dmlc/tvm/issues{/number}","pulls_url":"https://api.github.com/repos/dmlc/tvm/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlc/tvm/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlc/tvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlc/tvm/labels{/name}","releases_url":"https://api.github.com/repos/dmlc/tvm/releases{/id}","deployments_url":"https://api.github.com/repos/dmlc/tvm/deployments","created_at":"2016-10-12T22:20:28Z","updated_at":"2018-12-01T00:05:11Z","pushed_at":"2018-12-01T00:05:32Z","git_url":"git://github.com/dmlc/tvm.git","ssh_url":"git@github.com:dmlc/tvm.git","clone_url":"https://github.com/dmlc/tvm.git","svn_url":"https://github.com/dmlc/tvm","homepage":"https://tvm.ai","size":9007,"stargazers_count":2406,"watchers_count":2406,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":568,"mirror_url":null,"archived":false,"open_issues_count":61,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":568,"open_issues":61,"watchers":2406,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/2202"},"html":{"href":"https://github.com/dmlc/tvm/pull/2202"},"issue":{"href":"https://api.github.com/repos/dmlc/tvm/issues/2202"},"comments":{"href":"https://api.github.com/repos/dmlc/tvm/issues/2202/comments"},"review_comments":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/2202/comments"},"review_comment":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/2202/commits"},"statuses":{"href":"https://api.github.com/repos/dmlc/tvm/statuses/64092e8b5fc9f89a27a6aa1c480a5554277f42aa"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tqchen","id":2577440,"node_id":"MDQ6VXNlcjI1Nzc0NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/2577440?v=4","gravatar_id":"","url":"https://api.github.com/users/tqchen","html_url":"https://github.com/tqchen","followers_url":"https://api.github.com/users/tqchen/followers","following_url":"https://api.github.com/users/tqchen/following{/other_user}","gists_url":"https://api.github.com/users/tqchen/gists{/gist_id}","starred_url":"https://api.github.com/users/tqchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tqchen/subscriptions","organizations_url":"https://api.github.com/users/tqchen/orgs","repos_url":"https://api.github.com/users/tqchen/repos","events_url":"https://api.github.com/users/tqchen/events{/privacy}","received_events_url":"https://api.github.com/users/tqchen/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":10,"deletions":10,"changed_files":7}}
{"actor":{"display_login":"tqchen"}}