REDHAT-BUG-2184061: Medium severity Ruby Time library vulnerability

Published Apr 3, 2023
·
Updated

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.

Affected Software

2 affected components
Ruby Time library
Ruby Time gem>=0.1.0<=0.2.1

Event History

Apr 3, 2023
Data Sourced
via Red Hat·02:35 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2184061?

The severity of REDHAT-BUG-2184061 is considered high due to the potential for a ReDoS attack that can increase execution time.

2

Which versions are affected by REDHAT-BUG-2184061?

REDHAT-BUG-2184061 affects Time gem versions 0.1.0 and 0.2.1, as well as Ruby Time library version 2.7.7.

3

How do I fix REDHAT-BUG-2184061?

To fix REDHAT-BUG-2184061, update the Time gem to a version later than 0.2.1 or upgrade your Ruby installation.

4

What does REDHAT-BUG-2184061 exploit?

REDHAT-BUG-2184061 exploits the Time parser's mishandling of invalid strings, leading to inefficient execution times.

5

What are the implications of not addressing REDHAT-BUG-2184061?

Not addressing REDHAT-BUG-2184061 may lead to denial-of-service conditions due to increased execution times during string parsing.

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