Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8161

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-8161
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:33 UTC · Revision 1

Source evidence

CVE-2020-8161

core-osv · Original source

Published 2 Jul 2020, 19:15 UTC

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.

osv:CVE-2020-8161
Complete source record
{
  "id": "41cd5f90467cc10f5f2f9f4f6aaa37d935193ba8bef92b97da6b84bebebba609",
  "url": "https://osv.dev/vulnerability/CVE-2020-8161",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8161",
    "summary": "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.",
    "evidence": "osv:CVE-2020-8161",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-8161",
      "aliases": [
        "CVE-2020-8161",
        "GHSA-5f9h-9pjv-v6j7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rack/rack",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "39d501a28c1fe51284addfe6dacffafb69d49849"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "2.0.0.rc1",
            "2.0.0.alpha",
            "1.6.0.beta",
            "1.5.1",
            "1.5.0",
            "1.4.1",
            "1.4.0",
            "1.3.0",
            "1.3.0.beta2",
            "1.3.0.beta",
            "1.0",
            "0.3",
            "0.2",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8161.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:41.152031929Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2020/07/msg00006.html",
        "https://lists.debian.org/debian-lts-announce/2023/01/msg00038.html",
        "https://usn.ubuntu.com/4561-1/",
        "https://hackerone.com/reports/434404",
        "https://groups.google.com/g/rubyonrails-security/c/IOO1vNZTzPA"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-8161",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435086,
  "published_at": "2020-07-02T19:15:12.357+00:00"
}