GHSA-fg7x-g82r-94qc

Ruby Time component ReDoS issue

At a glance

Published
Updated
CVE
CVE-2023-28756
Aliases
BIT-ruby-2023-28756, BIT-ruby-min-2023-28756
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

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.

Affected packages

PackageVersions
RubyGems · timeintroduced 0.2.0, fixed 0.2.2
RubyGems · timeintroduced 0, fixed 0.1.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database