VDB

CVE-2023-28756

CVE-2023-28756 PUBLISHED CVSS 5.300000190734863 MEDIUM

Ruby Time component ReDoS issue

Reported by mitre · Published March 31, 2023

time is fixed in 0.2.2 and 0.1.1 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
timeRubyGems0.2.2, 0.1.1
rubygem-bson-docerrata.rockylinux.org0:4.3.0-2.module+el8.9.0+1536+5f79634e.noarch
ruby-develerrata.rockylinux.org0:2.5.9-111.module+el8.9.0+1536+5f79634e.aarch64
rubygem-minitestAmazon Linux4.3.2-36.amzn2.0.4
rubygem-mongoerrata.rockylinux.org0:2.5.1-2.module+el8.9.0+1536+5f79634e.src, 0:2.5.1-2.module+el8.9.0+1536+5f79634e.noarch
rubygem-bigdecimalerrata.rockylinux.org0:1.3.4-111.module+el8.9.0+1536+5f79634e.aarch64
rubygem-openssl-debuginfoerrata.rockylinux.org0:2.1.2-111.module+el8.9.0+1536+5f79634e.x86_64, 0:2.1.2-111.module+el8.9.0+1536+5f79634e.i686
rubygem-json-debuginfoerrata.rockylinux.org0:2.1.0-111.module+el8.9.0+1536+5f79634e.aarch64
rubygem-minitesterrata.rockylinux.org0:5.10.3-111.module+el8.9.0+1536+5f79634e.noarch
ruby3.2-rubygem-rssAmazon Linux0.2.9-180.amzn2023.0.1
ruby3.2-libsAmazon Linux3.2.2-180.amzn2023.0.1
rubygem-jsonAmazon Linux1.7.7-36.amzn2.0.4

52 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
n/an/an/a
amazon:2rubygem-minitest0
amazon:2023ruby3.2-rubygem-rss0
amazon:2023ruby3.2-libs0
amazon:2rubygem-json0
amazon:2023ruby3.2-rubygem-psych0
wolfiruby-3.20
amazon:2023ruby3.20
amazon:2023ruby3.2-rubygem-power_assert0
amazon:2rubygem-io-console0
amazon:2023ruby3.2-default-gems0
amazon:2ruby-irb0
amazon:2023ruby3.2-bundled-gems0
RubyGemstime0.2.0, 0
amazon:2rubygems-devel0
amazon:2ruby-tcltk0
amazon:2023ruby3.2-rubygem-io-console0
amazon:2rubygem-bigdecimal0
amazon:2023ruby3.2-rubygem-test-unit0
amazon:2023ruby3.2-rubygem-typeprof0

…and 28 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 (21 in total, the first dated here)
  • Apr 15, 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-28756
vulnetix vdb fixes CVE-2023-28756

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-28756/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›