Live threats

All CVEs / Ruby-lang

CVE-2023-28756Ruby-lang Ruby

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Mar 31, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems time ≥ 0.2.0 < 0.2.2 0.2.2 gem "time", ">= 0.2.2"
RubyGems time < 0.1.1 0.1.1 gem "time", ">= 0.1.1"

Per OSV / GitHub Advisories (GHSA-fg7x-g82r-94qc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langruby≤ 2.7.7
ruby-langtime0.1.0
ruby-langtime0.2.1
debiandebian_linux10.0
fedoraprojectfedora36
fedoraprojectfedora37
fedoraprojectfedora38

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.