RubySec

Providing security resources for the Ruby community

CVE-2023-28756 (time): Ruby Time component ReDos issue

ADVISORIES

GEM

time

SEVERITY

CVSS v3.x: 7.5 (High)

PATCHED VERSIONS

  • ~> 0.1.1
  • >= 0.2.2

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.

RELATED