CVE-2020-8161
HIGH 8.6CVSS 3.1Directory traversal in Rack::Directory app bundled with Rack
A directory traversal vulnerability exists in rack < 2.2.0 that allows an attacker perform directory traversal vulnerability in the Rack::Directory app that is bundled with Rack which could result in information disclosure.
- Published
- 2 Jul 2020
- Last modified
- 10 Sep 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-548
- Also known as
- GHSA-5f9h-9pjv-v6j7
- Sources
- NVDJSONOSV GHSA-5f9h-9pjv-v6j7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rack_project | rackcpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:* |
< 2.2.0 | 2.2.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| OSV | RubyGems | rack | < 2.1.3 | 2.1.3 |
References
- https://groups.google.com/g/rubyonrails-security/c/IOO1vNZTzPA · Mailing List, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/434404 · Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00006.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/01/msg00038.html · Mailing List, Third Party Advisory, WEB
- https://usn.ubuntu.com/4561-1/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8161 · ADVISORY
- https://github.com/rack/rack/commit/dddb7ad18ed79ca6ab06ccc417a169fde451246e · WEB
- https://github.com/rack/rack · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2020-8161.yml · WEB
- https://groups.google.com/forum/#!topic/ruby-security-ann/T4ZIsfRf2eA · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Jul 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2020)