Advisory

GHSA-fg7x-g82r-94qc

Also known as: BIT-ruby-2023-28756, BIT-ruby-min-2023-28756, CVE-2023-28756

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-31 06:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

time

RubyGems · All systems

Affected

  • introduced 0.2.0, fixed 0.2.2 (ecosystem)

Fixed versions

0.2.2

Fix

The export has no generic command for this ecosystem.

time

RubyGems · All systems

Affected

  • introduced 0, fixed 0.1.1 (ecosystem)

Fixed versions

0.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences