GHSA-hv5j-3h9f-99c2

Suggest an improvement
Source
https://github.com/advisories/GHSA-hv5j-3h9f-99c2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-hv5j-3h9f-99c2/GHSA-hv5j-3h9f-99c2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hv5j-3h9f-99c2
Aliases
Related
Published
2023-03-31T06:30:15Z
Modified
2024-05-06T12:31:08.394338Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Ruby URI component ReDoS issue
Details

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. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.

References

Affected packages

RubyGems / uri

Package

Name
uri
Purl
pkg:gem/uri

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.12.0
Fixed
0.12.1

Affected versions

0.*

0.12.0

RubyGems / uri

Package

Name
uri
Purl
pkg:gem/uri

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.11.0
Fixed
0.11.1

Affected versions

0.*

0.11.0

RubyGems / uri

Package

Name
uri
Purl
pkg:gem/uri

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.10.1
Fixed
0.10.2

Affected versions

0.*

0.10.1

RubyGems / uri

Package

Name
uri
Purl
pkg:gem/uri

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.0.1

Affected versions

0.*

0.10.0