CVE-2023-28756
ruby: ReDoS vulnerability in Time
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-1333
Affected packages · 4
Operating systems · 437 fixes
Oracle Linux 2 releases · 28 packages
fixed 47
rubygem-net-telnet
rubygem-rss
rubygem-typeprof
rubygem-xmlrpc
rubygem-abrt
rubygem-io-console
+22
| Release | Package | Fixed in |
|---|---|---|
| 8 | rubygem-net-telnet | 0.2.0-139.module+el8.8.0+21111+2e34bf27 |
| 8 | rubygem-rss | 0.2.9-143.module+el8.10.0+90343+d5e92a1d |
| 8 | rubygem-typeprof | 0.21.3-142.module+el8.9.0+90182+7bdfc9e5 |
| 8 | rubygem-xmlrpc | 0.3.0-139.module+el8.8.0+21111+2e34bf27 |
| 8 | rubygem-abrt +1 | 0.4.0-1.module+el8.10.0+90343+d5e92a1d |
| 8 | rubygem-io-console | 0.5.11-142.module+el8.9.0+90182+7bdfc9e5 |
41 more rows
Photon OS 1 release · 1 package
fixed 1
ruby
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | ruby +1 | 2.7.4-6.ph4 |
Red Hat 8 releases · 44 packages
wont fix 2
fixed 136
ruby
rh-ruby27-rubygem-net-telnet
rh-ruby27-rubygem-xmlrpc
rh-ruby27-rubygem-io-console
rh-ruby27-rubygem-power-assert
rh-ruby27-rubygem-irb
+38
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | ruby +14 | wont fix | — |
| 7 | rh-ruby27-rubygem-net-telnet | 0:0.2.0-132.el7 | RHSA-2023:3291 |
| 7 | rh-ruby27-rubygem-xmlrpc | 0:0.3.0-132.el7 | RHSA-2023:3291 |
| 7 | rh-ruby27-rubygem-io-console | 0:0.5.6-132.el7 | RHSA-2023:3291 |
| 7 | rh-ruby27-rubygem-power-assert | 0:1.1.7-132.el7 | RHSA-2023:3291 |
| 7 | rh-ruby27-rubygem-irb | 0:1.2.6-132.el7 | RHSA-2023:3291 |
132 more rows
SUSE Linux Enterprise 2 releases · 1 package
fixed 2
libruby2-5-2-5
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libruby2-5-2-5 +4 | 2.5.9-150000.4.29.1 | SUSE-SU-2023:4176-1 |
| 15.5 | libruby2-5-2-5 +4 | 2.5.9-150000.4.29.1 | SUSE-SU-2023:4176-1 |
alma 6 releases · 26 packages
fixed 118
rubygem-net-telnet
rubygem-xmlrpc
rubygem-abrt
rubygem-mysql2
rubygem-io-console
rubygem-pg
+20
| Release | Package | Fixed in |
|---|---|---|
| 8 (ruby:2.5) | rubygem-net-telnet | 0.1.1-111.module_el8.9.0+3635+c6f99506 |
| 8 (ruby:2.5) | rubygem-xmlrpc | 0.3.0-111.module_el8.9.0+3635+c6f99506 |
| 8 (ruby:2.5) | rubygem-abrt +1 | 0.3.0-4.module_el8.5.0+2625+ec418553 |
| 8 (ruby:2.5) | rubygem-mysql2 +1 | 0.4.10-4.module_el8.5.0+2625+ec418553 |
| 8 (ruby:2.5) | rubygem-io-console | 0.4.6-111.module_el8.9.0+3635+c6f99506 |
| 8 (ruby:2.5) | rubygem-pg +1 | 1.0.0-3.module_el8.9.0+3635+c6f99506 |
112 more rows
alpine 4 releases · 1 package
fixed 4
ruby
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | ruby | 3.1.4-r0 |
| 3.23 | ruby | 3.1.4-r0 |
| 3.24 | ruby | 3.1.4-r0 |
| edge | ruby | 3.1.4-r0 |
amazon linux 1 release · 17 packages
fixed 17
ruby3-2-rubygem-rss
ruby3-2-rubygem-typeprof
ruby3-2-rubygem-io-console
ruby3-2-rubygem-irb
ruby3-2-rubygem-rake
ruby3-2-rubygem-power-assert
+11
| Release | Package | Fixed in |
|---|---|---|
| 2023 | ruby3-2-rubygem-rss | 0.2.9-180.amzn2023.0.1 |
| 2023 | ruby3-2-rubygem-typeprof | 0.21.3-180.amzn2023.0.1 |
| 2023 | ruby3-2-rubygem-io-console +1 | 0.6.0-180.amzn2023.0.1 |
| 2023 | ruby3-2-rubygem-irb | 1.6.2-180.amzn2023.0.1 |
| 2023 | ruby3-2-rubygem-rake | 13.0.6-180.amzn2023.0.1 |
| 2023 | ruby3-2-rubygem-power-assert | 2.0.3-180.amzn2023.0.1 |
11 more rows
chainguard 1 release · 2 packages
fixed 2
ruby-3-1
ruby-3-2
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | 3.1.4-r0 | |
| ruby-3-2 | 3.2.2-r0 |
debian 5 releases · 3 packages
fixed 5
affected 1
ruby2-5
jruby
ruby2-7
| Release | Package | Fixed in |
|---|---|---|
| 10 | ruby2-5 | 2.5.5-3+deb10u5 |
| 10 | jruby | 9.1.17.0-3+deb10u1 |
| 11 | ruby2-7 | 2.7.4-1+deb11u2 |
| 12 | jruby +1 | affected |
| 13 | jruby | 9.4.5.0+ds-1 |
| 14 | jruby | 9.4.5.0+ds-1 |
echo 1 release · 2 packages
fixed 2
ruby3-1
jruby
| Release | Package | Fixed in |
|---|---|---|
| ruby3-1 | 3.1.6 | |
| jruby | 9.4.5.0+ds-1 |
rocky 5 releases · 26 packages
fixed 93
rubygem-net-telnet
rubygem-xmlrpc
rubygem-abrt
rubygem-mysql2
rubygem-io-console
rubygem-pg
+20
| Release | Package | Fixed in |
|---|---|---|
| 8 (ruby:2.5) | rubygem-net-telnet | 0.1.1-111.module+el8.9.0+1536+5f79634e |
| 8 (ruby:2.5) | rubygem-xmlrpc | 0.3.0-111.module+el8.9.0+1536+5f79634e |
| 8 (ruby:2.5) | rubygem-abrt +1 | 0.3.0-4.module+el8.5.0+738+032c9c02 |
| 8 (ruby:2.5) | rubygem-abrt +1 | 0.3.0-4.module+el8.9.0+1536+5f79634e |
| 8 (ruby:2.5) | rubygem-mysql2 +1 | 0.4.10-4.module+el8.9.0+1536+5f79634e |
| 8 (ruby:2.5) | rubygem-io-console | 0.4.6-111.module+el8.9.0+1536+5f79634e |
87 more rows
ubuntu 5 releases · 3 packages
fixed 5
ruby2-5
ruby2-7
ruby3-0
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | ruby2-5 | 2.5.1-1ubuntu1.16 |
| 18.04-ESM | ruby2-5 | 2.5.1-1ubuntu1.16 |
| 20.04 | ruby2-7 | 2.7.0-5ubuntu1.11 |
| 20.04-ESM | ruby2-7 | 2.7.0-5ubuntu1.11 |
| 22.04 | ruby3-0 | 3.0.2-7ubuntu2.4 |
wolfi 1 release · 2 packages
fixed 2
ruby-3-1
ruby-3-2
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | 3.1.4-r0 | |
| ruby-3-2 | 3.2.2-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:3500
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:3838
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-28756
- bugzilla.redhat.com https://bugzilla.redhat.com/2149706
- bugzilla.redhat.com https://bugzilla.redhat.com/2184059
- bugzilla.redhat.com https://bugzilla.redhat.com/2184061
- bugzilla.redhat.com https://bugzilla.redhat.com/2270749
- bugzilla.redhat.com https://bugzilla.redhat.com/2270750
- bugzilla.redhat.com https://bugzilla.redhat.com/2276810
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2149706
Show all 59 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2184059
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2184061
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2270749
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2270750
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2276810
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33621
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28755
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28756
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27280
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27281
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27282
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-3838.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:3500
- github.com https://github.com/ruby/ruby/commit/957bb7cb81995f26c671afce0ee50a5c660e540e (3.1)
- github.com https://github.com/ruby/time
- github.com https://github.com/ruby/time/commit/3dce6f73d14f5fad6d9b302393fd02df48797b11 (0.2)
- github.com https://github.com/ruby/time/commit/b57db51f577875d3e896dcd2ef1dcaf97f23e943 (0.2)
- github.com https://github.com/ruby/time/releases
- github.com https://github.com/ruby/time/releases/
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/time/CVE-2023-28756.yml
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-28756.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-3838.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-28756
- security.gentoo.org https://security.gentoo.org/glsa/202401-27
- security.netapp.com https://security.netapp.com/advisory/ntap-20230526-0004
- security.netapp.com https://security.netapp.com/advisory/ntap-20230526-0004/
- ubuntu.com https://ubuntu.com/security/notices/USN-6055-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6055-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6087-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6181-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-28756
- www.ruby-lang.org https://www.ruby-lang.org/en/downloads/releases
- www.ruby-lang.org https://www.ruby-lang.org/en/downloads/releases/
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.