PT-2022-3423 · Rack+7 · Rack+7

Vairelt

·

Published

2022-05-27

·

Updated

2026-03-13

·

CVE-2022-30123

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Rack versions prior to 2.0.9.1 Rack versions prior to 2.1.4.1 Rack versions prior to 2.2.3.1
Description A sequence injection vulnerability exists in Rack, which could allow a possible shell escape in the Lint and CommonLogger components. This issue is related to incorrect input validation when processing data passed through the Rack Lint and CommonLogger middleware. Exploitation of the vulnerability may allow a remote attacker to transmit specially crafted data to the application and execute arbitrary OS commands on the target system. Carefully crafted requests can cause shell escape sequences to be written to the terminal via Rack's Lint middleware and CommonLogger middleware, which can be leveraged to possibly execute commands in the victim's terminal.
Recommendations For versions prior to 2.0.9.1, update to version 2.0.9.1 or later. For versions prior to 2.1.4.1, update to version 2.1.4.1 or later. For versions prior to 2.2.3.1, update to version 2.2.3.1 or later. As a temporary workaround, consider removing the Rack::Lint and Rack::CommonLogger middleware from your application.

Exploit

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2023-1412
ALT-PU-2023-4276
ALT-PU-2024-7824
BDU:2022-04201
CVE-2022-30123
DLA-3095-1
DSA-5530-1
GHSA-WQ4H-7R42-5HRR
MGASA-2022-0252
OESA-2022-1729
OPENSUSE-SU-2022_2192-1
OPENSUSE-SU-2024:12119-1
OPENSUSE-SU-2024:12397-1
OPENSUSE-SU-2024:12974-1
OPENSUSE-SU-2024:13167-1
OPENSUSE-SU-2024:13726-1
OPENSUSE-SU-2024:13727-1
OPENSUSE-SU-2025:14811-1
OPENSUSE-SU-2025:14875-1
OPENSUSE-SU-2026:10286-1
OPENSUSE-SU-2026:10358-1
RHSA-2022:7343
RHSA-2022_7343
RHSA-2023:1486
SUSE-SU-2022:2192-1
SUSE-SU-2022:2526-1
USN-5253-1
USN-5896-1
USN-7036-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Rack
Red Hat
Red Os
Suse
Ubuntu