Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0yM2MyLWd3cDUtcHh3Oc4AAxDr

ReDoS based DoS vulnerability in GlobalID

There is a ReDoS based DoS vulnerability in the GlobalID gem. This vulnerability has been assigned the CVE identifier CVE-2023-22799.

Versions Affected: >= 0.2.1 Not affected: NOTAFFECTED Fixed Versions: 1.0.1
Impact

There is a possible DoS vulnerability in the model name parsing section of the GlobalID gem. Carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately.
Releases

The FIXED releases are available at the normal locations.
Workarounds

There are no feasible workarounds for this issue.
Patches

To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.

1-0-model-name-redos.patch - Patch for 1.0 series
Permalink: https://github.com/advisories/GHSA-23c2-gwp5-pxw9
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yM2MyLWd3cDUtcHh3Oc4AAxDr
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 1 year ago
Updated: 6 months ago


Identifiers: GHSA-23c2-gwp5-pxw9, CVE-2023-22799
References: Repository: https://github.com/rails/globalid

Affected Packages

rubygems:globalid
Dependent packages: 36
Dependent repositories: 514,218
Downloads: 395,002,849 total
Affected Version Ranges: >= 0.2.1, < 1.0.1
Fixed in: 1.0.1
All affected versions: 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.4.0, 0.4.1, 0.4.2, 0.5.1, 0.5.2, 0.6.0, 1.0.0
All unaffected versions: 0.2.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1