Bug 2184061 (CVE-2023-28756) - CVE-2023-28756 ruby: ReDoS vulnerability in Time
Summary: CVE-2023-28756 ruby: ReDoS vulnerability in Time
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2023-28756
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2186597 2186598 2186599 2186600 2187309 2187500 2187501 2187502 2187503 2187504 2189466
Blocks: 2184057
TreeView+ depends on / blocked
 
Reported: 2023-04-03 14:35 UTC by Marco Benatto
Modified: 2024-04-01 01:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Time gem and Time library of Ruby. The Time parser mishandles invalid strings with specific characters and causes an increase in execution time for parsing strings to Time objects. This issue may result in a Regular expression denial of service (ReDoS).
Clone Of:
Environment:
Last Closed: 2023-06-27 19:33:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:3291 0 None None None 2023-05-24 08:55:56 UTC
Red Hat Product Errata RHSA-2023:3821 0 None None None 2023-06-27 14:57:56 UTC
Red Hat Product Errata RHSA-2023:7025 0 None None None 2023-11-14 15:18:50 UTC
Red Hat Product Errata RHSA-2024:1431 0 None None None 2024-03-19 18:37:50 UTC
Red Hat Product Errata RHSA-2024:1576 0 None None None 2024-04-01 01:16:40 UTC

Description Marco Benatto 2023-04-03 14:35:45 UTC
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.

Comment 4 errata-xmlrpc 2023-05-24 08:55:55 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2023:3291 https://access.redhat.com/errata/RHSA-2023:3291

Comment 5 errata-xmlrpc 2023-06-27 14:57:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:3821 https://access.redhat.com/errata/RHSA-2023:3821

Comment 6 Product Security DevOps Team 2023-06-27 19:33:39 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-28756

Comment 7 errata-xmlrpc 2023-11-14 15:18:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7025 https://access.redhat.com/errata/RHSA-2023:7025

Comment 8 errata-xmlrpc 2024-03-19 18:37:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:1431 https://access.redhat.com/errata/RHSA-2024:1431

Comment 9 errata-xmlrpc 2024-04-01 01:16:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:1576 https://access.redhat.com/errata/RHSA-2024:1576


Note You need to log in before you can comment on or make changes to this bug.