cve.bz

CVE-2023-28756

5.3 mediumEPSS 2.5%Fix available

Medium (5.3). EPSS 2.5% estimated probability of exploitation activity in the next 30 days. Fixed in time 0.1.1, 0.2.2.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-01-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28756 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28756?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28756?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28756 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rubythrough 2.7.7
ruby-lang:time0.1.0
ruby-lang:time0.2.1
debian:debian_linux10.0
fedoraproject:fedora36
fedoraproject:fedora37
fedoraproject:fedora38

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fg7x-g82r-94qcRubyGemstime>=0.2.0 <0.2.20.2.2
GHSA-fg7x-g82r-94qcRubyGemstime<0.1.10.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10jruby9.1.17.0-3+deb10u1DLA-3408-1
Debian10ruby2.52.5.5-3+deb10u5DLA-3447-1
Debian11ruby2.72.7.4-1+deb11u2DLA-3858-1
Debian12jruby, ruby3.1no fix listedDEBIAN-CVE-2023-28756
Debian13, 14jruby9.4.5.0+ds-1DEBIAN-CVE-2023-28756
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morejrubyno fix listedUBUNTU-CVE-2023-28756
Ubuntu18.04:LTSruby2.52.5.1-1ubuntu1.16UBUNTU-CVE-2023-28756 USN-6055-1 USN-6087-1
Ubuntu20.04:LTSruby2.72.7.0-5ubuntu1.11UBUNTU-CVE-2023-28756 USN-6055-1 USN-6087-1
Ubuntu22.04:LTSruby3.03.0.2-7ubuntu2.4UBUNTU-CVE-2023-28756
UbuntuPro:16.04:LTSruby2.32.3.1-2~ubuntu16.04.16+esm7UBUNTU-CVE-2023-28756 USN-6055-1 USN-6087-1
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-111.module+el8.9.0+19193+435404aeRHSA-2023:7025
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 7 more0:3.1.4-142.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 5 more0:2.7.8-139.module+el8.8.0+18745+f1bef313RHSA-2023:3821
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 5 more0:3.0.7-143.module+el8.10.0+21858+d19f3934RHSA-2024:3500
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.9.0+19193+435404aeRHSA-2023:7025
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.10.0+21858+d19f3934RHSA-2024:3500
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.3.0+7192+4e3a532aRHSA-2023:3821
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-111.module+el8.9.0+19193+435404aeRHSA-2023:7025
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:2.0.0-139.module+el8.8.0+18745+f1bef313RHSA-2023:3821
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.0.0-143.module+el8.10.0+21858+d19f3934RHSA-2024:3500
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.1.1-142.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
128 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 12 moreruby2.52.5.9-150000.4.29.1SUSE-SU-2023:4176-1
openSUSELeap 15.4, Leap 15.5ruby2.52.5.9-150000.4.29.1SUSE-SU-2023:4176-1
AlmaLinux8ruby, ruby-doc, ruby-irb and 2 more2.5.9-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux8ruby, ruby-doc, ruby-libs and 3 more3.1.4-142.module_el8.9.0+3746+91b8233aALSA-2024:1431
AlmaLinux8ruby, ruby-doc, ruby-libs and 2 more2.7.8-139.module_el8.8.0+3578+2b4b06daALSA-2023:3821
AlmaLinux8ruby, ruby-doc, ruby-libs and 2 more3.0.7-143.module_el8.10.0+3852+ce828b19ALSA-2024:3500
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.10.0+3852+ce828b19ALSA-2024:3500
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.3.0+6147+d0dfc1e4ALSA-2023:3821
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.7.0+3304+9392e77fALSA-2024:1431
AlmaLinux8rubygem-bigdecimal1.3.4-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux8rubygem-bigdecimal2.0.0-139.module_el8.8.0+3578+2b4b06daALSA-2023:3821
AlmaLinux8rubygem-bigdecimal3.0.0-143.module_el8.10.0+3852+ce828b19ALSA-2024:3500
AlmaLinux8rubygem-bigdecimal3.1.1-142.module_el8.9.0+3746+91b8233aALSA-2024:1431
122 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-111.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux8ruby0:2.7.8-139.module+el8.8.0+1320+d2449f6fRLSA-2023:3821
Rocky Linux8ruby0:3.1.4-142.module+el8.9.0+1759+ff68ae72RLSA-2024:1431
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2023:7025
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.5.0+668+665814faRLSA-2023:3821 RLSA-2024:1431
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux8rubygem-bson0:4.8.1-1.module+el8.4.0+594+11b6673aRLSA-2023:3821
Rocky Linux8rubygem-bundler0:1.16.1-4.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux8rubygem-mongo0:2.11.3-1.module+el8.4.0+594+11b6673aRLSA-2023:3821
Rocky Linux8rubygem-mongo0:2.5.1-2.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux8rubygem-mysql20:0.4.10-4.module+el8.9.0+1536+5f79634eRLSA-2023:7025
2 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:2.7-8080020230427102918.63b34585Fixed 2023-06-27RHSA-2023:3821
Red Hat Enterprise Linux 8ruby:2.5-8090020230627084142.b46abd14Fixed 2023-11-14RHSA-2023:7025
Red Hat Enterprise Linux 8ruby:3.1-8090020240311122605.a75119d5Fixed 2024-03-19RHSA-2024:1431
Red Hat Enterprise Linux 8ruby:3.0-8100020240522072634.489197e6Fixed 2024-05-30RHSA-2024:3500
Red Hat Enterprise Linux 9ruby:3.1-9030020240320163942.9Fixed 2024-04-01RHSA-2024:1576
Red Hat Enterprise Linux 9ruby-0:3.0.7-162.el9_4Fixed 2024-06-11RHSA-2024:3838
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby27-ruby-0:2.7.8-132.el7Fixed 2023-05-24RHSA-2023:3291
Red Hat Hardened Imagesruby3-3-main-3.3.10-23.1.hum1Fixed 2026-04-09RHSA-2026:7305
Red Hat Hardened Imagesruby3-4-main-3.4.8-31.1.hum1Fixed 2026-04-09RHSA-2026:7307
Red Hat Hardened Imagesruby4-0-main-4.0.0-33.3.hum1Fixed 2026-04-17RHSA-2026:8838
Red Hat Enterprise Linux 6rubyOut of support scope
Red Hat Enterprise Linux 7rubyWill not fix
Red Hat Enterprise Linux 8ruby:2.6/rubyWill not fix
Red Hat Software Collectionsrh-ruby30-rubyWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28756.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON