diff --git a/Gemfile b/Gemfile
index 103eecc83c65803aaef35833bda9679a99bd3a00..cd7bac0a84f89873ab7118a4cb9aa0dee4cf1218 100644
--- a/Gemfile
+++ b/Gemfile
@@ -517,3 +517,6 @@ gem 'multi_json', '~> 1.14.1'
 gem 'yajl-ruby', '~> 1.4.1', require: 'yajl'
 
 gem 'webauthn', '~> 2.3'
+
+# IPAddress utilities
+gem 'ipaddress', '~> 0.8.3'
diff --git a/Gemfile.lock b/Gemfile.lock
index 566093206ec34463f58b9d3ff8fffaa480b4c6b7..7d522f3aed0f3934886f77adeec15bdd7530eef5 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1362,6 +1362,7 @@ DEPENDENCIES
   httparty (~> 0.16.4)
   icalendar
   invisible_captcha (~> 0.12.1)
+  ipaddress (~> 0.8.3)
   jira-ruby (~> 2.0.0)
   js_regex (~> 3.4)
   json (~> 2.3.0)