Skip to content
Fencer Vulns
critical 10.0

CVE-2022-30123 json

Possible shell escape sequence injection vulnerability in Rack

published 2022-05-27 4 y ago modified 2026-06-17 4 mo ago also GHSA-wq4h-7r42-5hrr , EUVD-2022-5620

cvss
10.0
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which could allow is a possible shell escape in the Lint and CommonLogger components of Rack.

Patch / fix

  • rubygems rack 2.0.9.1, 2.1.4.1, 2.2.3.1
  • rack_project rack 2.0.9.1, 2.1.4.1, 2.2.3.1
  • ruby-rack Debian 14, Debian 13, Debian 12 2.2.4-1

debian advisories DEBIAN-CVE-2022-30123

  • ruby-rack Ubuntu 22.04 LTS 2.1.4-5ubuntu1.1
  • ruby-rack Ubuntu Pro 14.04 LTS 1.5.2-3+deb8u3ubuntu1~esm4
  • ruby-rack Ubuntu Pro 16.04 LTS 1.6.4-3ubuntu0.2+esm2
  • ruby-rack Ubuntu Pro 18.04 LTS 1.6.4-4ubuntu0.2+esm2
  • ruby-rack Ubuntu Pro 20.04 LTS 2.0.7-2ubuntu0.1+esm2
  • ruby-rack Ubuntu Pro 22.04 LTS 2.1.4-5ubuntu1+esm2

ubuntu advisories UBUNTU-CVE-2022-30123

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • grafana storage 3.5 5.2.4-6.el7rhgs
  • rubygem-puma storage 3.5 4.3.12-1.el7rhgs
  • rubygem-rack storage 3.5 2.2.4-1.el7rhgs
  • rubygem-tzinfo storage 3.5 1.2.10-1.el7rhgs
  • pcs RHEL 7 0.9.169-3.el7_9.3
  • pcs-snmp RHEL 7 0.9.169-3.el7_9.3

red hat advisories RHSA-2023:1486RHSA-2022:7343

  • rubygem-rack OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 1.6.13-3.13.1
  • rubygem-rack SLE High Availability Extension 15 SP4, SLE High Availability Extension 15 SP3, SLE High Availability Extension 15 SP2 +4 more 2.0.8-150000.3.6.1

suse advisories SUSE-SU-2022:2526-1SUSE-SU-2022:2192-1

  • rubygem-rack openSUSE Tumbleweed 3.1.18-1.3
  • rubygem-rack-2.2 openSUSE Tumbleweed 2.2.22-1.1
  • rubygem-rack openSUSE Tumbleweed 3.1.12-1.1
  • rubygem-rack-2.2 openSUSE Tumbleweed 2.2.11-1.1
  • rubygem-rack openSUSE Tumbleweed 2.2.3.1-1.1
  • rubygem-rack-2.2 openSUSE Tumbleweed 2.2.4-1.1
  • ruby3.2-rubygem-rack-2.2 openSUSE Tumbleweed 2.2.7-1.1
  • ruby3.2-rubygem-rack openSUSE Tumbleweed 3.0.7-1.2

opensuse advisories openSUSE-SU-2026:10358-1openSUSE-SU-2026:10286-1openSUSE-SU-2025:14875-1openSUSE-SU-2025:14811-1openSUSE-SU-2024:12119-1openSUSE-SU-2024:12397-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-30123 updated cvss 10.0

rubygem-rack: crafted requests can cause shell escape sequences

  • Red Hat OpenStack Platform 13 (Queens) Operational Tools rubygem-rack
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Server High Availability (v. 7) pcs 0.9.169-3.el7_9.3, pcs-snmp 0.9.169-3.el7_9.3 Red Hat Enterprise Linux Server Resilient Storage (v. 7) pcs 0.9.169-3.el7_9.3, pcs-snmp 0.9.169-3.el7_9.3
    fixed: vendor fix RHSA-2022:7343
  • Red Hat Gluster 3.5 Web Administration on RHEL-7 rubygem-rack 2.2.4-1.el7rhgs
    fixed: vendor fix RHSA-2023:1486
  • Red Hat RHOL 5.4 for RHEL 8 openshift-logging/fluentd-rhel8 v1.14.5-51
    fixed: vendor fix RHSA-2023:0632
  • Red Hat Gluster 3.5 Web Administration on RHEL-7 ruby 2.4.9-94.el7rhgs, grafana 5.2.4-6.el7rhgs, ruby-irb 2.4.9-94.el7rhgs, ruby-libs 2.4.9-94.el7rhgs, rubygem-i18n 1.9.1-1.el7rhgs, rubygems 2.6.14.4-94.el7rhgs, +28 more Red Hat Satellite 6 rubygem-rack Red Hat RHOL 5.4 for RHEL 8 openshift-logging/vector-rhel8 v0.14-74, openshift-logging/kibana6-rhel8 v6.8.1-328, openshift-logging/eventrouter-rhel8 v0.4.0-76, openshift-logging/logging-loki-rhel8 v2.5.0-61, openshift-logging/loki-rhel8-operator v5.4.11-3, openshift-logging/opa-openshift-rhel8 v5.4.11-2, +10 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.96% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub 3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
rubygems rack
<2.0.9.1
>=2.1, <2.1.4.1
>=2.2, <2.2.3.1
2.0.9.1
2.1.4.1
2.2.3.1

Affected products

  • n/a https://github.com/rack/rack

Classification

Weakness
  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.