CVE-2023-28756: High severity ruby-lang Ruby vulnerability

Published Mar 31, 2023
·
Updated

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.

Other sources

The Time parser mishandles invalid strings that have specific characters. It causes an increase in execution time for parsing strings to Time objects.

A ReDoS issue was discovered in the Time gem 0.1.0 and 0.2.1 and Time library of Ruby 2.7.7.

— Red Hat

Affected Software

17 affected componentsFixes available
rubygems/time<0.1.1
0.1.1
rubygems/time>=0.2.0<0.2.2
0.2.2
ruby-lang Ruby<=2.7.7
ruby-lang Time Ruby=0.1.0
ruby-lang Time Ruby=0.2.1
Debian Debian Linux=10.0
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Fedoraproject Fedora=38
debian/jruby*
debian/jruby<9.4.5.0+ds-1
9.4.5.0+ds-1
debian/jruby<9.4.5.0+ds-1
9.4.5.0+ds-1
debian/ruby3.1*
debian/jruby<=9.3.9.0+ds-8
9.4.3.0+ds-1~exp19.1.17.0-3+deb10u19.4.5.0+ds-1
debian/ruby3.1<=3.1.2-7+deb12u1, <=3.1.7+really3.1.2-0+deb12u1
debian/ruby2.5
2.5.5-3+deb10u5
debian/ruby2.7
2.7.4-1+deb11u2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/time to a version that resolves this vulnerability.

    Fixed in 0.1.1
  2. Upgrade

    Upgrade rubygems/time to a version that resolves this vulnerability.

    Fixed in 0.2.2
  3. Upgrade

    Upgrade debian/jruby to a version that resolves this vulnerability.

    Fixed in 9.4.5.0+ds-1
  4. Upgrade

    Upgrade debian/jruby to a version that resolves this vulnerability.

    Fixed in 9.4.3.0+ds-1~exp1Fixed in 9.1.17.0-3+deb10u1Fixed in 9.4.5.0+ds-1
  5. Upgrade

    Upgrade debian/ruby2.5 to a version that resolves this vulnerability.

    Fixed in 2.5.5-3+deb10u5
  6. Upgrade

    Upgrade debian/ruby2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.4-1+deb11u2
  7. Upgrade

    Upgrade Time gem to a version that resolves this vulnerability.

    Fixed in 0.1.1
  8. Upgrade

    Upgrade Time gem to a version that resolves this vulnerability.

    Fixed in 0.2.2

Event History

Mar 31, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Data Sourced
via OSV·04:15 AM
DescriptionSeverityAffected Software
Advisory Published
06:30 AM
May 30, 2023
Data Sourced
05:17 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·04:10 AM
DescriptionSeverityWeaknessAffected Software
Updated
04:10 AM
Affected Software
Nov 14, 2023
Data Sourced
via Red Hat·03:18 PM
DescriptionSeverityAffected Software
Jan 24, 2024
Updated
via NVD·05:15 AM
Affected Software
Advisory Published
via GitHub·07:18 PM
Data Sourced
via GitHub·07:18 PM
DescriptionSeverityWeaknessAffected Software
Nov 21, 2024
Updated
via NVD·07:55 AM
Affected Software
Nov 4, 2025
Updated
via NVD·05:15 PM
Affected Software
Jun 17, 2026
Updated
via NVD·05:48 AM
Affected Software
Nov 22, 2026
Updated
via OSV·10:00 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-28756?

CVE-2023-28756 is a ReDoS (Regular Expression Denial of Service) vulnerability discovered in the Time component of Ruby versions up to 3.2.1.

2

What is the severity of CVE-2023-28756?

CVE-2023-28756 has a severity rating of 7.5 (high).

3

How does CVE-2023-28756 affect Ruby?

CVE-2023-28756 affects the Time component in Ruby versions up to 3.2.1.

4

How can I fix CVE-2023-28756?

To fix CVE-2023-28756, you need to upgrade Ruby to version 0.1.1 or version 0.2.2, depending on the affected package.

5

Where can I find more information about CVE-2023-28756?

You can find more information about CVE-2023-28756 on the official Ruby website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203