{"action":"opened","number":355,"pull_request":{"url":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/355","id":228785089,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4Nzg1MDg5","html_url":"https://github.com/blueskyacademy/new-bluesky/pull/355","diff_url":"https://github.com/blueskyacademy/new-bluesky/pull/355.diff","patch_url":"https://github.com/blueskyacademy/new-bluesky/pull/355.patch","issue_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/355","number":355,"state":"open","locked":false,"title":"🚨 [security] Update rack: 2.0.5 → 2.0.6 (patch)","user":{"login":"depfu[bot]","id":23717796,"node_id":"MDM6Qm90MjM3MTc3OTY=","avatar_url":"https://avatars3.githubusercontent.com/in/715?v=4","gravatar_id":"","url":"https://api.github.com/users/depfu%5Bbot%5D","html_url":"https://github.com/apps/depfu","followers_url":"https://api.github.com/users/depfu%5Bbot%5D/followers","following_url":"https://api.github.com/users/depfu%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/depfu%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/depfu%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depfu%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/depfu%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/depfu%5Bbot%5D/repos","events_url":"https://api.github.com/users/depfu%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/depfu%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"---\n\n**Welcome to Depfu** 👋\n\nThis is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.\n\nAfter you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.\n\n[Let us know](mailto:hi@depfu.com) if you have any questions. Thanks so much for giving Depfu a try!\n\n---\n\n\n<hr>\n\n🚨 <b>Your version of rack has known security vulnerabilities</b> 🚨\n\nAdvisory: CVE-2018-16471\nDisclosed: November 05, 2018\nURL: [https://groups.google.com/forum/#!topic/ruby-security-ann/NAalCee8n6o](https://groups.google.com/forum/#!topic/ruby-security-ann/NAalCee8n6o)\n\n<details>\n<summary>Possible XSS vulnerability in Rack</summary>\n<blockquote>\n  <p>There is a possible vulnerability in Rack. This vulnerability has been<br>\nassigned the CVE identifier CVE-2018-16471.</p>\n<p>Versions Affected:  All.<br>\nNot affected:       None.<br>\nFixed Versions:     2.0.6, 1.6.11</p>\n<h2>Impact</h2>\n<p>There is a possible XSS vulnerability in Rack.  Carefully crafted requests can<br>\nimpact the data returned by the <code>scheme</code> method on <code>Rack::Request</code>.<br>\nApplications that expect the scheme to be limited to \"http\" or \"https\" and do<br>\nnot escape the return value could be vulnerable to an XSS attack.</p>\n<p>Vulnerable code looks something like this:</p>\n<pre><code>&lt;%= request.scheme.html_safe %&gt;\n</code></pre>\n<p>Note that applications using the normal escaping mechanisms provided by Rails<br>\nmay not impacted, but applications that bypass the escaping mechanisms, or do<br>\nnot use them may be vulnerable.</p>\n<p>All users running an affected release should either upgrade or use one of the<br>\nworkarounds immediately.</p>\n<h2>Releases</h2>\n<p>The 2.0.6 and 1.6.11 releases are available at the normal locations.</p>\n<h2>Workarounds</h2>\n<p>The following monkey patch can be applied to work around this issue:</p>\n<pre><code>require \"rack\"\nrequire \"rack/request\"\n\nclass Rack::Request\nSCHEME_WHITELIST = %w(https http).freeze\n\ndef scheme\n  if get_header(Rack::HTTPS) == 'on'\n    'https'\n  elsif get_header(HTTP_X_FORWARDED_SSL) == 'on'\n    'https'\n  elsif forwarded_scheme\n    forwarded_scheme\n  else\n    get_header(Rack::RACK_URL_SCHEME)\n  end\nend\n\ndef forwarded_scheme\n  scheme_headers = [\n    get_header(HTTP_X_FORWARDED_SCHEME),\n    get_header(HTTP_X_FORWARDED_PROTO).to_s.split(',')[0]\n  ]\n\n  scheme_headers.each do |header|\n    return header if SCHEME_WHITELIST.include?(header)\n  end\n\n  nil\nend\nend\n</code></pre>\n</blockquote>\n</details>\n<br>\n🚨 <b>We recommend to merge and deploy this update as soon as possible!</b> 🚨\n<hr>\n\n\nHere is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.\n\n### What changed?\n\n\n#### ↗️ rack (_indirect_, 2.0.5 → 2.0.6) · [Repo](http://github.com/rack/rack) · [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)\n\n\n<details>\n<summary>Commits</summary>\n<p><a href=\"https://github.com/rack/rack/compare/decd97682ec4c6345fe359b6a1d3c51e5fbdce5b...8376dd11e6526a53432ee59b7a5d092bda9fc901\">See the full diff on Github</a>. The new version differs by 5 commits:</p>\n\n<ul>\n<li><a href=\"https://github.com/rack/rack/commit/8376dd11e6526a53432ee59b7a5d092bda9fc901\"><code>Bumping version for release</code></a></li>\n<li><a href=\"https://github.com/rack/rack/commit/313dd6a05a5924ed6c82072299c53fed09e39ae7\"><code>Whitelist http/https schemes</code></a></li>\n<li><a href=\"https://github.com/rack/rack/commit/37c1160b2360074d20858792f23a7eb3afeabebd\"><code>Reduce buffer size to avoid pathological parsing</code></a></li>\n<li><a href=\"https://github.com/rack/rack/commit/99fea65cc04eaaad8e59b1a78440a2616e0dc55a\"><code>Merge tag &#39;2.0.5&#39; into 2-0-stable</code></a></li>\n<li><a href=\"https://github.com/rack/rack/commit/216b7cad1baa65ba1213ae51c85776928d6e2d86\"><code>Merge pull request #1296 from tomelm/fix-prefers-plaintext</code></a></li>\n</ul>\n</details>\n\n\n\n\n---\n![Depfu Status](https://depfu.com/badges/fd7ac4a045517b1183f6b04d1dd8e0e8/stats.svg)\n\n[Depfu](https://depfu.com) will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with `@depfu rebase`.\n\n<details><summary>All Depfu comment commands</summary>\n<blockquote><dl>\n<dt>@​depfu rebase</dt><dd>Rebases against your default branch and redoes this update</dd>\n<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and conflicts are resolved</dd>\n<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if it's closed)</dd>\n<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency and closes this PR</dd>\n<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major updates for this dependency and closes this PR</dd>\n<dt>@​depfu resume</dt><dd>Future versions of this dependency will create PRs again (leaves this PR as is)</dd>\n</dl></blockquote>\n</details>\n\n","created_at":"2018-11-06T18:06:29Z","updated_at":"2018-11-06T18:06:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/355/commits","review_comments_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/355/comments","review_comment_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/355/comments","statuses_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/statuses/3f63df6bd6974dafa67e75448d6fe68157fb1211","head":{"label":"blueskyacademy:depfu/update/rack-2.0.6","ref":"depfu/update/rack-2.0.6","sha":"3f63df6bd6974dafa67e75448d6fe68157fb1211","user":{"login":"blueskyacademy","id":22578291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNTc4Mjkx","avatar_url":"https://avatars3.githubusercontent.com/u/22578291?v=4","gravatar_id":"","url":"https://api.github.com/users/blueskyacademy","html_url":"https://github.com/blueskyacademy","followers_url":"https://api.github.com/users/blueskyacademy/followers","following_url":"https://api.github.com/users/blueskyacademy/following{/other_user}","gists_url":"https://api.github.com/users/blueskyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/blueskyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueskyacademy/subscriptions","organizations_url":"https://api.github.com/users/blueskyacademy/orgs","repos_url":"https://api.github.com/users/blueskyacademy/repos","events_url":"https://api.github.com/users/blueskyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/blueskyacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":70049909,"node_id":"MDEwOlJlcG9zaXRvcnk3MDA0OTkwOQ==","name":"new-bluesky","full_name":"blueskyacademy/new-bluesky","private":false,"owner":{"login":"blueskyacademy","id":22578291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNTc4Mjkx","avatar_url":"https://avatars3.githubusercontent.com/u/22578291?v=4","gravatar_id":"","url":"https://api.github.com/users/blueskyacademy","html_url":"https://github.com/blueskyacademy","followers_url":"https://api.github.com/users/blueskyacademy/followers","following_url":"https://api.github.com/users/blueskyacademy/following{/other_user}","gists_url":"https://api.github.com/users/blueskyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/blueskyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueskyacademy/subscriptions","organizations_url":"https://api.github.com/users/blueskyacademy/orgs","repos_url":"https://api.github.com/users/blueskyacademy/repos","events_url":"https://api.github.com/users/blueskyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/blueskyacademy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/blueskyacademy/new-bluesky","description":null,"fork":false,"url":"https://api.github.com/repos/blueskyacademy/new-bluesky","forks_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/forks","keys_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/teams","hooks_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/hooks","issue_events_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/events{/number}","events_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/events","assignees_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/assignees{/user}","branches_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/branches{/branch}","tags_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/tags","blobs_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/statuses/{sha}","languages_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/languages","stargazers_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/stargazers","contributors_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/contributors","subscribers_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/subscribers","subscription_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/subscription","commits_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/contents/{+path}","compare_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/merges","archive_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/downloads","issues_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues{/number}","pulls_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls{/number}","milestones_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/milestones{/number}","notifications_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/labels{/name}","releases_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/releases{/id}","deployments_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/deployments","created_at":"2016-10-05T10:20:59Z","updated_at":"2018-11-03T15:40:47Z","pushed_at":"2018-11-06T18:06:29Z","git_url":"git://github.com/blueskyacademy/new-bluesky.git","ssh_url":"git@github.com:blueskyacademy/new-bluesky.git","clone_url":"https://github.com/blueskyacademy/new-bluesky.git","svn_url":"https://github.com/blueskyacademy/new-bluesky","homepage":null,"size":13174,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":2,"default_branch":"master"}},"base":{"label":"blueskyacademy:master","ref":"master","sha":"d8d98a764a7844fc31d464ee3758d892d648e0c0","user":{"login":"blueskyacademy","id":22578291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNTc4Mjkx","avatar_url":"https://avatars3.githubusercontent.com/u/22578291?v=4","gravatar_id":"","url":"https://api.github.com/users/blueskyacademy","html_url":"https://github.com/blueskyacademy","followers_url":"https://api.github.com/users/blueskyacademy/followers","following_url":"https://api.github.com/users/blueskyacademy/following{/other_user}","gists_url":"https://api.github.com/users/blueskyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/blueskyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueskyacademy/subscriptions","organizations_url":"https://api.github.com/users/blueskyacademy/orgs","repos_url":"https://api.github.com/users/blueskyacademy/repos","events_url":"https://api.github.com/users/blueskyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/blueskyacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":70049909,"node_id":"MDEwOlJlcG9zaXRvcnk3MDA0OTkwOQ==","name":"new-bluesky","full_name":"blueskyacademy/new-bluesky","private":false,"owner":{"login":"blueskyacademy","id":22578291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNTc4Mjkx","avatar_url":"https://avatars3.githubusercontent.com/u/22578291?v=4","gravatar_id":"","url":"https://api.github.com/users/blueskyacademy","html_url":"https://github.com/blueskyacademy","followers_url":"https://api.github.com/users/blueskyacademy/followers","following_url":"https://api.github.com/users/blueskyacademy/following{/other_user}","gists_url":"https://api.github.com/users/blueskyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/blueskyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueskyacademy/subscriptions","organizations_url":"https://api.github.com/users/blueskyacademy/orgs","repos_url":"https://api.github.com/users/blueskyacademy/repos","events_url":"https://api.github.com/users/blueskyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/blueskyacademy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/blueskyacademy/new-bluesky","description":null,"fork":false,"url":"https://api.github.com/repos/blueskyacademy/new-bluesky","forks_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/forks","keys_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/teams","hooks_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/hooks","issue_events_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/events{/number}","events_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/events","assignees_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/assignees{/user}","branches_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/branches{/branch}","tags_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/tags","blobs_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/statuses/{sha}","languages_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/languages","stargazers_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/stargazers","contributors_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/contributors","subscribers_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/subscribers","subscription_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/subscription","commits_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/contents/{+path}","compare_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/merges","archive_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/downloads","issues_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues{/number}","pulls_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls{/number}","milestones_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/milestones{/number}","notifications_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/labels{/name}","releases_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/releases{/id}","deployments_url":"https://api.github.com/repos/blueskyacademy/new-bluesky/deployments","created_at":"2016-10-05T10:20:59Z","updated_at":"2018-11-03T15:40:47Z","pushed_at":"2018-11-06T18:06:29Z","git_url":"git://github.com/blueskyacademy/new-bluesky.git","ssh_url":"git@github.com:blueskyacademy/new-bluesky.git","clone_url":"https://github.com/blueskyacademy/new-bluesky.git","svn_url":"https://github.com/blueskyacademy/new-bluesky","homepage":null,"size":13174,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/355"},"html":{"href":"https://github.com/blueskyacademy/new-bluesky/pull/355"},"issue":{"href":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/355"},"comments":{"href":"https://api.github.com/repos/blueskyacademy/new-bluesky/issues/355/comments"},"review_comments":{"href":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/355/comments"},"review_comment":{"href":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blueskyacademy/new-bluesky/pulls/355/commits"},"statuses":{"href":"https://api.github.com/repos/blueskyacademy/new-bluesky/statuses/3f63df6bd6974dafa67e75448d6fe68157fb1211"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"depfu"}}