CVE-2023-28755
Ruby URI component ReDoS issue
Reported by mitre · Published March 31, 2023
A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ruby3.2-rubygem-rexml | Amazon Linux | 3.2.5-180.amzn2023.0.1 |
| rubygem-bigdecimal | errata.rockylinux.org | 0:1.3.4-111.module+el8.9.0+1536+5f79634e.aarch64 |
| rubygem-psych-debuginfo | errata.rockylinux.org | 0:3.0.2-111.module+el8.9.0+1536+5f79634e.x86_64, 0:3.0.2-111.module+el8.9.0+1536+5f79634e.i686, 0:3.0.2-111.module+el8.9.0+1536+5f79634e.aarch64 |
| rubygem-pg | errata.rockylinux.org | 0:1.0.0-3.module+el8.9.0+1536+5f79634e.src, 0:1.0.0-3.module+el8.9.0+1536+5f79634e.aarch64 |
| ruby3.2-rubygem-bundler | Amazon Linux | 2.4.10-180.amzn2023.0.1 |
| rubygem-openssl | errata.rockylinux.org | 0:2.1.2-111.module+el8.9.0+1536+5f79634e.aarch64 |
| rubygem-test-unit | errata.rockylinux.org | 0:3.2.7-111.module+el8.9.0+1536+5f79634e.noarch |
| rubygem-mysql2 | errata.rockylinux.org | 0:0.4.10-4.module+el8.9.0+1536+5f79634e.src, 0:0.4.10-4.module+el8.9.0+1536+5f79634e.aarch64 |
| rubygem-mysql2-debugsource | errata.rockylinux.org | 0:0.4.10-4.module+el8.9.0+1536+5f79634e.x86_64 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | ruby3.2-rubygem-rexml | 0 |
| amazon:2023 | ruby3.2-rubygem-bundler | 0 |
| n/a | n/a | * |
| amazon:2023 | ruby3.2-rubygem-psych | 0 |
| amazon:2023 | ruby3.2-rubygem-typeprof | 0 |
| RubyGems | uri | 0.11.0, 0.12.0, 0.12.0 |
| amazon:2023 | ruby3.2-rubygems | 0 |
| chainguard | ruby-3.2 | 0 |
| alpine | ruby | 0, 0, 0 |
| amazon:2023 | ruby3.2-rubygem-power_assert | 0 |
| chainguard | ruby-3.1 | 0 |
| amazon:2023 | ruby3.2-devel | 0 |
| amazon:2023 | ruby3.2-rubygem-rbs | 0 |
| amazon:2023 | ruby3.2-rubygem-io-console | 0 |
| amazon:2023 | ruby3.2-rubygem-json | 0 |
| chainguard | ruby-3.0 | 0 |
| amazon:2023 | ruby3.2-doc | 0 |
| amazon:2023 | ruby3.2-rubygem-rake | 0 |
| amazon:2023 | ruby3.2-bundled-gems | 0 |
…and 13 more
Timeline
- Mar 31, 2023 CVE Published
- Mar 31, 2023 EPSS Score (30 in total, the first dated here)
- Apr 26, 2023 PoC Published (2 in total, the first dated here)
- Mar 17, 2026 Security Advisory (22 in total, the first dated here)
- Apr 23, 2026 Distribution Patch (18 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-28755
vulnetix vdb fixes CVE-2023-28755
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-28755/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2023-6b924d3b75 vendor-advisory
- FEDORA-2023-a7be7ea1aa vendor-advisory
- FEDORA-2023-f58d72c700 vendor-advisory
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update mailing-list
- GLSA-202401-27 vendor-advisory
- FEDORA-2024-31cac8b8ec vendor-advisory
- FEDORA-2024-48bdd3abbf vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-28755 advisory
- https://github.com/advisories/GHSA-hv5j-3h9f-99c2 advisory
- https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755 url
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released url
- https://www.ruby-lang.org/en/downloads/releases url
- https://security.netapp.com/advisory/ntap-20230526-0003 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T url
…and 13 more