Skip to content

Commit d0590cf

Browse files
Merged in r2-3230-security-gems-docker (pull request #7089)
R2-3230 Security: Gem & NPM dependency scan for v2.12.0 Approved-by: Pavel Nabutovsky
2 parents a0bf885 + 5d79d5f commit d0590cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+227
-206
lines changed

.rspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--color
2-
--order default
2+
--order defined
33
--backtrace
44
--profile
55
--require rspec/instafail

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.3.5
1+
ruby-3.3.7

Gemfile

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (c) 2014 - 2023 UNICEF. All rights reserved.
44

55
source 'https://rubygems.org'
6-
ruby '3.3.5'
6+
ruby '3.3.7'
77

88
gem 'activerecord-nulldb-adapter' # Running Rake tasks at build time before DB is set up. TODO: Still needed?
99
gem 'activerecord-session_store', '~> 2.0'
@@ -12,6 +12,10 @@ gem 'aws-sdk-s3', '~> 1.130', # Access and manage Amazon S3 storage (wi
1212
gem 'azure-storage-blob', '~> 1.1', # Access and manage Microsoft Azure Storage Blob Services (with ActiveStorage).
1313
require: false
1414
gem 'cancancan', '~> 3.5' # Endpoint user authorization
15+
# TODO: concurrent-ruby v1.3.5 has removed the dependency on logger.
16+
# TODO: https://stackoverflow.com/a/79361034
17+
# TODO: Remove this dependency when upgrading to rails 7.x
18+
gem 'concurrent-ruby', '1.3.4'
1519
gem 'csv-safe', '~> 3.2' # Safely export data to CSV to avoid formula injection
1620
gem 'daemons', '~> 1.4.1' # Gem to run the delayed jobs
1721
gem 'deep_merge', '~> 1.2', # Recursive merging of Hashes. Used for merging params to existing records.
@@ -28,7 +32,7 @@ gem 'jwt', '~> 2.8' # Ruby JWT library used to authenticate 3
2832
gem 'matrix', '~> 0.4' # No longer part of Ruby 3.2 core. Must be included explicitly
2933
gem 'minipack', '~> 0.3' # An alternative to Webpacker. TODO: Is this still needed? In prod?
3034
gem 'net-http-persistent', '~> 4.0' # Thread safe persistent HTTP connections, optional Faraday dependency
31-
gem 'nokogiri', '~> 1.16' # Security assertion on implicit dependency.
35+
gem 'nokogiri', '~> 1.18' # Security assertion on implicit dependency.
3236
gem 'pg', '~> 1.5' # Ruby PostgreSQL binding
3337
gem 'prawn', '~> 2.4' # PDF generation
3438
gem 'prawn-table', '~> 0.2' # PDF generation
@@ -50,7 +54,7 @@ gem 'sunspot_solr', '~> 2.6', # Ruby bindings to Solr
5054
gem 'text', '~> 1.3' # Phonetic Search Algorithms
5155
gem 'twitter_cldr', '~> 4.4' # Localization for dates, money. TODO: Is this still used?
5256
gem 'tzinfo-data', '~> 1.2023' # Timezone Data for TZInfo
53-
gem 'uri', '~> 0.12' # CVE-2023-36617: ReDoS vulnerability in URI
57+
gem 'uri', '~> 0.13' # CVE-2025-27221
5458
gem 'web-push', '~> 3.0'
5559
gem 'will_paginate', '~> 4.0' # Paginates ActiveRecord models TODO: This can be refactored away.
5660
gem 'write_xlsx', '~> 1.11' # Exports XLSX
@@ -84,7 +88,6 @@ group :development, :test do
8488
gem 'rubocop', '~> 1.54'
8589
gem 'rubocop-performance', '~> 1.18'
8690
gem 'ruby-lsp', '~> 0.17'
87-
gem 'ruby-prof', '~> 0.17'
8891
gem 'simplecov', '~> 0.18'
8992
# TODO: Latest version (1.2.5) of this conflicts with sunspot gem. Upgrade when we upgrade sunspot
9093
gem 'sunspot_test', '~> 0.4', require: false

0 commit comments

Comments
 (0)