Skip to content

Commit

Permalink
Upgrade JSON to 2.3.0 for CVE-2020-10663
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaan Sapra committed Apr 2, 2020
1 parent 29421a6 commit 1be2361
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/director/packaging
Expand Up @@ -19,7 +19,7 @@ done

cat > Gemfile <<EOF
# Explicitly require vendored version to avoid requiring builtin json gem
gem 'json', '2.1.0'
gem 'json', '2.3.0'

gem 'bosh-director'
gem 'mysql2'
Expand Down
2 changes: 1 addition & 1 deletion packages/health_monitor/packaging
Expand Up @@ -6,7 +6,7 @@ source /var/vcap/packages/ruby-2.6.5-r0.29.0/bosh/compile.env

cat > Gemfile <<EOF
# Explicitly require vendored version to avoid requiring builtin json gem
gem 'json', '2.1.0'
gem 'json', '2.3.0'
gem 'bosh-monitor'
EOF

Expand Down
2 changes: 1 addition & 1 deletion packages/registry/packaging
Expand Up @@ -18,7 +18,7 @@ done

cat > Gemfile <<EOF
# Explicitly require vendored version to avoid requiring builtin json gem
gem 'json', '2.1.0'
gem 'json', '2.3.0'
gem 'bosh-registry'
gem 'mysql2'
gem 'pg'
Expand Down
2 changes: 1 addition & 1 deletion src/Gemfile
Expand Up @@ -14,7 +14,7 @@ gem 'rake', '~>12.3'

# json version is hardcoded in release director, health_monitor and registry packages
# when modified needs to be updated there as well
gem 'json', '=2.1.0'
gem 'json', '=2.3.0'

gem 'talentbox-delayed_job_sequel', '~>4.3'

Expand Down
4 changes: 2 additions & 2 deletions src/Gemfile.lock
Expand Up @@ -1074,7 +1074,7 @@ GEM
ipaddress (0.8.3)
jaro_winkler (1.5.4)
jmespath (1.4.0)
json (2.1.0)
json (2.3.0)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
Expand Down Expand Up @@ -1231,7 +1231,7 @@ DEPENDENCIES
factory_bot
fakefs
httpclient
json (= 2.1.0)
json (= 2.3.0)
machinist (~> 1.0)
minitar
mono_logger
Expand Down
Binary file removed src/vendor/cache/json-2.1.0.gem
Binary file not shown.
Binary file added src/vendor/cache/json-2.3.0.gem
Binary file not shown.

0 comments on commit 1be2361

Please sign in to comment.