GHSA-fg7x-g82r-94qc

Suggest an improvement
Source
https://github.com/advisories/GHSA-fg7x-g82r-94qc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-fg7x-g82r-94qc/GHSA-fg7x-g82r-94qc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fg7x-g82r-94qc
Aliases
Related
Published
2023-03-31T06:30:15Z
Modified
2024-02-21T05:23:17.847840Z
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 Time component ReDoS issue
Details

A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. The Time parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to Time objects. The fixed versions are 0.1.1 and 0.2.2.

References

Affected packages

RubyGems / time

Package

Name
time
Purl
pkg:gem/time

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.2.0
Fixed
0.2.2

Affected versions

0.*

0.2.0
0.2.1

RubyGems / time

Package

Name
time
Purl
pkg:gem/time

Affected ranges

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

Affected versions

0.*

0.1.0