CVE-2023-28756 Ruby Time component ReDoS issue

Medium 5.3 Published Updated

Attackers can cause denial of service by exploiting a ReDoS vulnerability in the Ruby Time component's parser when handling invalid URLs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-28756?

CVE-2023-28756 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 31 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-1333

Which versions are affected by CVE-2023-28756?

6 open source packages ship an affected version, including time, ruby and ruby-min. It affects 4 products.

PackageAffectedFixed in
time RubyGemsAll versions0.1.1
time RubyGemsAll versions0.1.1
time RubyGemsFrom 0.2.00.2.2
time RubyGemsFrom 0.2.00.2.2
ruby BitnamiAll versions2.7.8
ruby-min BitnamiAll versions2.7.8

Products include Debian Debian Linux, Fedoraproject Fedora, Ruby-Lang Ruby, Ruby-Lang Time.

How do I fix CVE-2023-28756?

Upgrade time to a fixed version for your release line: 0.1.1 or 0.2.2.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-28756 being exploited?

There is no known exploitation of CVE-2023-28756 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2023-28756, BIT-ruby-2023-28756, BIT-ruby-min-2023-28756, CLEANSTART-2026-NI61642, CLSA-2026-1778661102, DEBIAN-CVE-2023-28756 and 5 more.

Is CVE-2023-28756 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free