Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Nokogiri to protect against CVE-2019-5477 #11751

Merged
merged 1 commit into from Aug 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Gemfile
Expand Up @@ -22,9 +22,9 @@ gem "kaminari"
gem "loofah", ">= 2.2.3"
gem "moment_timezone-rails"
gem "newrelic_rpm"
# nokogiri versions before 1.10.3 are affected by CVE-2019-11068. Explicitly define nokogiri version here to avoid that.
# https://github.com/sparklemotion/nokogiri/issues/1892
gem "nokogiri", "1.10.3"
# nokogiri versions before 1.10.4 are vulnerable to CVE-2019-5477.
# https://github.com/sparklemotion/nokogiri/issues/1915
gem "nokogiri", "~> 1.10.4"
gem "paper_trail", "8.1.2"
# Used to speed up reporting
gem "parallel"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -315,7 +315,7 @@ GEM
newrelic_rpm (6.3.0.355)
nio4r (2.3.1)
no_proxy_fix (0.1.2)
nokogiri (1.10.3)
nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
nori (2.6.0)
notiffany (0.1.1)
Expand Down Expand Up @@ -580,7 +580,7 @@ DEPENDENCIES
meta_request
moment_timezone-rails
newrelic_rpm
nokogiri (= 1.10.3)
nokogiri (~> 1.10.4)
paper_trail (= 8.1.2)
parallel
paranoia (~> 2.2)
Expand Down