Vulnerability Name:

CVE-2022-30123 (CCN-228305)

Assigned:2022-02-03
Published:2022-02-03
Updated:2022-12-07
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.
CVSS v3 Severity:10.0 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
8.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
10.0 Critical (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
8.7 High (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-179
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-30123

Source: support@hackerone.com
Type: Third Party Advisory
support@hackerone.com

Source: XF
Type: UNKNOWN
ruby-cve202230123-cmd-exec(228305)

Source: CCN
Type: Rack GIT Repository
Escape untrusted text when logging

Source: CCN
Type: ruby-advisory-db GIT Repository
CVE-2022-30123.yml

Source: CCN
Type: Mend Vulnerability Database
CVE-2022-30123

Vulnerable Configuration:Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*
  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:7::server:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:rack_project:rack:2.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:rack_project:rack:2.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:rack_project:rack:2.2.3:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.redhat.rhsa:def:20227343
    P
    RHSA-2022:7343: pcs security update (Important)
    2022-11-02
    oval:org.opensuse.security:def:3779
    P
    rsyslog-8.24.0-3.28.2 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:1756
    P
    Security update for rubygem-rack (Critical)
    2022-06-27
    oval:org.opensuse.security:def:539
    P
    Security update for rubygem-rack (Critical)
    2022-06-27
    oval:org.opensuse.security:def:95412
    P
    Security update for rubygem-rack (Critical)
    2022-06-27
    oval:org.opensuse.security:def:118650
    P
    Security update for rubygem-rack (Critical)
    2022-06-27
    BACK
    rack_project rack 2.0.9
    rack_project rack 2.1.4
    rack_project rack 2.2.3