CVE-2023-28756 Ruby Time component ReDoS issue
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.
| Package | Affected | Fixed in |
|---|---|---|
time RubyGems | All versions | 0.1.1 |
time RubyGems | All versions | 0.1.1 |
time RubyGems | From 0.2.0 | 0.2.2 |
time RubyGems | From 0.2.0 | 0.2.2 |
ruby Bitnami | All versions | 2.7.8 |
ruby-min Bitnami | All versions | 2.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.
Other vulnerabilities in Debian Debian Linux
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.