Skip to content

Commit c2d6728

Browse files
author
William Tsai
committed
Fix addressable security issue
1 parent 4eec2d6 commit c2d6728

5 files changed

Lines changed: 8 additions & 4 deletions

File tree

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins:
33

44
AllCops:
55
NewCops: enable
6-
TargetRubyVersion: 3.0
6+
TargetRubyVersion: 3.1
77
Exclude:
88
- 'bin/**/*'
99
- 'pkg/**/*'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.2.1] - 2026-04-08
2+
- Patch addressable to 2.9.0.
3+
- Fix Regular Expression Denial of Service in Addressable templates.
4+
- Raise the minimum supported Ruby version to 3.1.
15
## [1.2.0] - 2026-03-24
26
- Patch activesupport to 7.2.3.1.
37
- Fix possible ReDoS vulnerability in `number_to_delimited`.

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ GEM
1919
minitest (>= 5.1, < 6)
2020
securerandom (>= 0.3)
2121
tzinfo (~> 2.0, >= 2.0.5)
22-
addressable (2.8.9)
22+
addressable (2.9.0)
2323
public_suffix (>= 2.0.2, < 8.0)
2424
ast (2.4.3)
2525
base64 (0.3.0)

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.2.1

error_response.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
1111
s.license = "MIT"
1212
s.files = Dir["lib/**/*"]
1313
s.require_path = ["lib"]
14-
s.required_ruby_version = ">= 3.0"
14+
s.required_ruby_version = ">= 3.1"
1515
s.metadata = {
1616
"source_code_uri" => "https://github.com/kdan-mobile-software-ltd/error_response",
1717
"changelog_uri" => "https://github.com/kdan-mobile-software-ltd/error_response/blob/master/CHANGELOG.md",

0 commit comments

Comments
 (0)