Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. activesupport
  4. ›
  5. GMS-2023-61

GMS-2023-61: Duplicate of ./gem/activesupport/CVE-2023-22796.yml

January 18, 2023

There is a possible regular expression based DoS vulnerability in Active Support. A specially crafted string passed to the underscore method can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability. This affects String#underscore, ActiveSupport::Inflector.underscore, String#titleize, and any other methods using these. All users running an affected release should either upgrade or use one of the workarounds immediately.

References

  • github.com/advisories/GHSA-j6gc-792m-qgm2
  • github.com/rails/rails/releases/tag/v7.0.4.1

Code Behaviors & Features

Detect and mitigate GMS-2023-61 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 before 6.1.7.1, all versions starting from 7.0.0 before 7.0.4.1

Fixed versions

  • 6.1.7.1
  • 7.0.4.1

Solution

Upgrade to versions 6.1.7.1, 7.0.4.1 or above.

Source file

gem/activesupport/GMS-2023-61.yml

Spotted a mistake? Edit the file on GitLab.

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

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