PT-2023-2261 · Ruby+12 · Ruby+12

Oooooo_Q

·

Published

2022-09-18

·

Updated

2025-11-04

·

CVE-2023-28756

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Time component versions through 0.2.1 Ruby versions through 3.2.1
Description A ReDoS issue was discovered in the Time component, where the Time parser mishandles invalid URLs with specific characters, causing an increase in execution time for parsing strings to Time objects. This issue is related to the use of a regular expression with inefficient computational complexity, which can be exploited by a remote attacker to cause a denial of service.
Recommendations For Time component versions through 0.2.1, update to version 0.2.2 to resolve the issue. For Ruby versions through 3.2.1, ensure that the Time component is updated to a fixed version, such as 0.2.2, to mitigate the risk of exploitation. As a temporary workaround, consider restricting the use of the Time parser to minimize the risk of exploitation until a patch is available.

Exploit

Fix

DoS

Weakness Enumeration

Related Identifiers

ALSA-2023:3821
ALSA-2023:7025
ALSA-2024:1431
ALSA-2024:1576
ALSA-2024:3500
ALSA-2024:3838
ALSA-2024_1431
ALSA-2024_1576
ALSA-2025_16880
ALT-PU-2022-2629
ALT-PU-2023-4264
ALT-PU-2024-7811
BDU:2023-02020
BIT-RUBY-2023-28756
BIT-RUBY-MIN-2023-28756
CESA-2023_3821
CESA-2023_7025
CESA-2024_1431
CESA-2024_3500
CVE-2023-28756
DLA-3408-1
DLA-3447-1
DLA-3858-1
ECHO-9A18-7C35-5714
GHSA-FG7X-G82R-94QC
INFSA-2024_3500
INFSA-2024_3838
OESA-2023-1226
OESA-2024-1121
OPENSUSE-SU-2023_4176-1
RHSA-2023:3291
RHSA-2023:3821
RHSA-2023:7025
RHSA-2023_3821
RHSA-2023_7025
RHSA-2024:1431
RHSA-2024:1576
RHSA-2024:3500
RHSA-2024:3838
RHSA-2024_1431
RHSA-2024_1576
RHSA-2024_3500
RHSA-2024_3838
RHSA-2026:7305
RHSA-2026:7307
RHSA-2026:8838
RLSA-2023:3821
RLSA-2024:1431
RLSA-2024:1576
SUSE-SU-2023:4176-1
USN-6055-1
USN-6055-2
USN-6087-1
USN-6181-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Red Hat
Red Os
Rocky Linux
Ruby
Suse
Time
Ubuntu