Skip to content

Commit 9e78576

Browse files
authored
Merge pull request #3006 from sorah/cve-2023-28755-langfix
CVE-2023-28755: language fix
2 parents bf3b410 + 9671c2c commit 9e78576

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ This vulnerability has been assigned the CVE identifier [CVE-2023-28755](https:/
1313

1414
## Details
1515

16-
A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects.
16+
A ReDoS issue was discovered in the URI component. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects.
1717

18-
Please update the uri gem to version 0.12.1 or later. We also release for old uri gem with Ruby releases. Please use them if you need to only security fix.
18+
The `uri` gem version 0.10.1, 0.10.2, 0.11.0, 0.12.0, and all versions 0.10.0 and prior are vulnerable for this vulnerability.
1919

20-
* For Ruby 2.7 users: URI 0.10.0.1
21-
* For Ruby 3.0 users: URI 0.10.2
22-
* For Ruby 3.1 users: URI 0.11.1
23-
* For Ruby 3.2 users: URI 0.12.1
20+
## Recommended action
2421

25-
You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.1"` to your `Gemfile`.
22+
We recommend to update the `uri` gem to 0.12.1. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead:
23+
24+
* For Ruby 2.7: Update to `uri` 0.10.0.1
25+
* For Ruby 3.0: Update to `uri` 0.10.2
26+
* For Ruby 3.1: Update to `uri` 0.11.1
27+
* For Ruby 3.2: Update to `uri` 0.12.1
28+
29+
You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.1"` (or other version mentioned above) to your `Gemfile`.
2630

2731
## Affected versions
2832

0 commit comments

Comments
 (0)