Skip to content

Commit

Permalink
Merge pull request #2371 from cloudfoundry/bump-json
Browse files Browse the repository at this point in the history
Bump json gem for CVE-2020-10663
  • Loading branch information
ramonskie authored Apr 19, 2022
2 parents acf041f + df0c8b9 commit 2e98916
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/director/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ popd > /dev/null

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

gem 'bosh-director'
gem 'mysql2'
Expand Down
2 changes: 1 addition & 1 deletion packages/health_monitor/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source /var/vcap/packages/ruby-3.1.0-r0.81.0/bosh/compile.env

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

Expand Down
4 changes: 2 additions & 2 deletions src/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ gem 'bosh_common', path: 'bosh_common'

gem 'rake', '~>13.0.3'

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

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

Expand Down
4 changes: 2 additions & 2 deletions src/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ GEM
i18n (1.8.2)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
json (2.3.0)
json (2.6.1)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
Expand Down Expand Up @@ -312,7 +312,7 @@ DEPENDENCIES
factory_bot (~> 6.2)
fakefs
httpclient
json (= 2.3.0)
json (= 2.6.1)
machinist (~> 1.0)
minitar
mysql2
Expand Down
Binary file removed src/vendor/cache/json-2.3.0.gem
Binary file not shown.
Binary file added src/vendor/cache/json-2.6.1.gem
Binary file not shown.

0 comments on commit 2e98916

Please sign in to comment.