Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rack
  4. ›
  5. GMS-2022-1644

GMS-2022-1644: Duplicate of ./gem/rack/CVE-2022-30123.yml

May 27, 2022

Carefully crafted requests can cause shell escape sequences to be written to the terminal via Rack’s Lint middleware and CommonLogger middleware. These escape sequences can be leveraged to possibly execute commands in the victim’s terminal.

References

  • github.com/advisories/GHSA-wq4h-7r42-5hrr
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-30123.yml
  • groups.google.com/g/ruby-security-ann/c/LWB10kWzag8

Code Behaviors & Features

Detect and mitigate GMS-2022-1644 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 up to 2.0.9.0, all versions starting from 2.1 up to 2.1.4.0, all versions starting from 2.2 up to 2.2.3.0

Fixed versions

  • 2.0.9.1
  • 2.1.4.1
  • 2.2.3.1

Solution

Upgrade to versions 2.0.9.1, 2.1.4.1, 2.2.3.1 or above.

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

gem/rack/GMS-2022-1644.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:05 +0000.