CVE-2023-28756
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.
Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · source nvd
Exploit chance (EPSS)
2.452%
chance of exploitation in the next 30 days
higher than 84.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-1333: Inefficient Regular Expression Complexity
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2024-01-26 |
Timeline
- 2023-03-31Published by the CNA00:00 UTC
- 2023-03-31GitHub advisory published (GHSA-fg7x-g82r-94qc)same day
- 2024-01-26CISA SSVC decision recorded301 days after publication
Exploit and advisory records
GitHub advisory GHSA-fg7x-g82r-94qc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems time | before 0.1.1 | 0.1.1 |
| RubyGems time | from 0.2.0 before 0.2.2 | 0.2.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| ruby-lang ruby | through 2.7.7no fix listed | not listed |
| ruby-lang time | 0.1.0no fix listed0.2.1no fix listed | not listednot listed |
| debian debian_linux | 10.0no fix listed | not listed |
| fedoraproject fedora | 36no fix listed37no fix listed38no fix listed | not listednot listednot listed |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/
- https://security.gentoo.org/glsa/202401-27
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
- https://github.com/ruby/time/releases/
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://security.netapp.com/advisory/ntap-20230526-0004/
- https://www.ruby-lang.org/en/downloads/releases/
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-28756'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-28756'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-28756'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-28756'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).