Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. globalid
  4. ›
  5. CVE-2023-22799

CVE-2023-22799: Inefficient Regular Expression Complexity

February 9, 2023 (updated February 16, 2023)

A ReDoS based DoS vulnerability in the GlobalID <1.0.1 which could allow an attacker supplying a 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.

References

  • discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127
  • github.com/advisories/GHSA-23c2-gwp5-pxw9
  • github.com/rails/globalid/releases/tag/v1.0.1
  • nvd.nist.gov/vuln/detail/CVE-2023-22799

Code Behaviors & Features

Detect and mitigate CVE-2023-22799 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.2.1 before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

gem/globalid/CVE-2023-22799.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.