{"id":"CVE-2023-28756","details":"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.","aliases":["BIT-ruby-2023-28756","BIT-ruby-min-2023-28756","GHSA-fg7x-g82r-94qc"],"modified":"2026-08-12T03:51:46.353985719Z","published":"2023-03-31T00:00:00Z","related":["ALSA-2023:3821","ALSA-2023:7025","ALSA-2024:1431","ALSA-2024:1576","ALSA-2024:3500","ALSA-2024:3838","CGA-jx78-xh3q-cr8c","SUSE-SU-2023:4176-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28756.json","unresolved_ranges":[{"source":"DESCRIPTION","extracted_events":[{"fixed":"3.2.1"}]}]},"references":[{"type":"WEB","url":"https://github.com/ruby/time/releases/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html"},{"type":"WEB","url":"https://www.ruby-lang.org/en/downloads/releases/"},{"type":"WEB","url":"https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/"},{"type":"WEB","url":"https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28756.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28756"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-27"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230526-0004/"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ruby/ruby","events":[{"introduced":"0"},{"last_affected":"168ec2b1e5ad0e4688e963d9de019557c78feed9"}],"database_specific":{"cpe":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"2.7.7"}],"source":"CPE_RANGE"}},{"type":"GIT","repo":"https://github.com/ruby/time","events":[{"introduced":"652243ec44f7a0d04a3d4f57d241c670cf9f002e"},{"fixed":"4cebf6de3c25321ca604d991e7a0c684268c656a"}],"database_specific":{"source":["DESCRIPTION","CPE_STRING"],"cpe":["cpe:2.3:a:ruby-lang:time:0.1.0:*:*:*:*:ruby:*:*","cpe:2.3:a:ruby-lang:time:0.2.1:*:*:*:*:ruby:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"0.2.1"},{"introduced":"0.1.0"},{"last_affected":"0.1.0"},{"introduced":"0.2.1"},{"last_affected":"0.2.1"}]}}],"versions":["0.1.0","0.2.1","v2_7_7","v2_7_6","v2_7_5","v2_7_4","v2_7_3","v2_7_2","v2_7_1","v2_7_0","v2_7_0_rc2","v2_7_0_rc1","v2_7_0_preview3","v2_7_0_preview2","v2_7_0_preview1","v1_0_r2","v0.1.0","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28756.json"}}],"schema_version":"1.9.0"}