Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. time
  4. ›
  5. CVE-2023-28756

CVE-2023-28756: Ruby Time component ReDos issue

March 31, 2023 (updated January 24, 2024)

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

  • github.com/advisories/GHSA-fg7x-g82r-94qc
  • github.com/ruby/time/releases/
  • nvd.nist.gov/vuln/detail/CVE-2023-28756
  • www.ruby-lang.org/en/downloads/releases/
  • www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
  • www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/

Code Behaviors & Features

Detect and mitigate CVE-2023-28756 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 0.1.0, version 0.2.1

Fixed versions

  • 0.1.1
  • 0.2.2

Solution

Upgrade to versions 0.1.1, 0.2.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

gem/time/CVE-2023-28756.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.