Vulnerabilities · 2023 · Ruby-lang
CVE-2023-28756
Ruby-lang Ruby vulnerability
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.
Affected products
Ruby, Time, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/ · Vendor Advisory
- security.netapp.com/advisory/ntap-20230526-0004/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-28756
- github.com/rubysec/ruby-advisory-db/blob/master/gems/time/CVE-2023-28756.yml
- lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- security.gentoo.org/glsa/202401-27
- github.com/ruby/time/releases
- lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- nvd.nist.gov/vuln/detail/CVE-2023-28756
- cve.org/CVERecord?id=CVE-2023-28756
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.