URI gem has ReDoS vulnerability
A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with `rfc2396_parser.rb` and `rfc3986_parser.rb`. NOTE: this issue exists becuse of an incomplete fix for CVE-2023-28755. Version 0.10.3 is also a fixed version. [The Ruby advisory recommends](https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/) updating the uri gem to 0.12.2. In order to ensure compatibility with the bundled version in older Ruby series, you may update as follows instead: - For Ruby 3.0: Update to uri 0.10.3 - For Ruby 3.1 and 3.2: Update to uri 0.12.2. You can use gem update uri to update it. If you are using bundler, please add gem `uri`, `>= 0.12.2` (or other version mentioned above) to your Gemfile.
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2023-36617US | medium5.3 | — | ||
A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution ti… | ||||
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/ruby/uriPACKAGE
- https://github.com/ruby/uri/commit/05b1e7d026b886e65a60ee35625229da9ec220bbWEB
- https://github.com/ruby/uri/commit/38bf797c488bcb4a37fb322bfa84977981863ec6WEB
- https://github.com/ruby/uri/commit/3cd938df20db26c9439e9f681aadfb9bbeb6d1c0WEB
- https://github.com/ruby/uri/commit/4d02315181d8a485496f1bb107a6ab51d6f3a35fWEB
- https://github.com/ruby/uri/commit/70794abc162bb15bb934713b5669713d6700d35cWEB
- https://github.com/ruby/uri/commit/7e33934c91b7f8f3ea7b7a4258b468e19f636bc3WEB
- https://github.com/ruby/uri/commit/9a8e0cc03da964054c2a4ea26b59c53c3bae4921WEB
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan