PT-2020-5647 · Ruby+5 · Rack+5

Saltyyolk

·

Published

2020-05-22

·

Updated

2025-06-25

·

CVE-2020-8161

CVSS v3.1

8.6

High

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions rack versions prior to 2.2.0
Description A directory traversal issue exists in the Rack::Directory app, allowing an attacker to perform a directory traversal attack, which could result in information disclosure. The vulnerability is related to the check forbidden function in the rack/directory.rb module, which incorrectly restricts the directory path name. This could allow a remote attacker to access confidential data.
Recommendations For versions prior to 2.2.0, update to version 2.2.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the Rack::Directory app until a patch is available.

Exploit

Fix

Path traversal

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-01344
BDU:2021-01347
CVE-2020-8161
DLA-2216-1
DLA-2275-1
DLA-3298-1
GHSA-5F9H-9PJV-V6J7
MGASA-2020-0252
OPENSUSE-SU-2022_3347-1
RHSA-2020:4366
SUSE-SU-2020:2678-1
SUSE-SU-2022:3347-1
SUSE-SU-2022_3347-1
USN-4561-1
USN-4561-2

Affected Products

Astra Linux
Linuxmint
Rack
Red Os
Suse
Ubuntu