CVE catalog

CVE-2020-8161

ruby-rack affected and fixed versions

[CVE catalog]

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.

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
3.36% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixie-securityruby-rack3.1.20-0+deb13u2Fixed[CVE-2020-8161]
Debiantrixieruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debiantrixieruby-rack3.1.20-0+deb13u1Fixed[CVE-2020-8161]
Debiansidruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debiansidruby-rack3.2.7-1Fixed[CVE-2020-8161]
Debianforkyruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debianforkyruby-rack3.2.7-1Fixed[CVE-2020-8161]
Debianbookworm-securityruby-rack2.2.22-0+deb12u2Fixed[CVE-2020-8161]
Debianbookwormruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debianbookwormruby-rack2.2.22-0+deb12u1Fixed[CVE-2020-8161]

Showing 10 fix observations. All 28 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debianbookwormruby-rack2.2.22-0+deb12u1Fixed[CVE-2020-8161]
Debianbookworm-securityruby-rack2.2.22-0+deb12u2Fixed[CVE-2020-8161]
Debianforkyruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debianforkyruby-rack3.2.7-1Fixed[CVE-2020-8161]
Debiansidruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debiansidruby-rack3.2.7-1Fixed[CVE-2020-8161]
Debiantrixieruby-rack2.1.1-5FixedDistribution-reported fixed boundary[CVE-2020-8161]
Debiantrixieruby-rack3.1.20-0+deb13u1Fixed[CVE-2020-8161]
Debiantrixie-securityruby-rack3.1.20-0+deb13u2Fixed[CVE-2020-8161]
Opensuseleap 15.3rubygem-rack2.0.8-150000.3.9.1UnknownSource applicability is not established[SUSE-SU-2022:3347-1]
Opensuseleap 15.4rubygem-rack2.0.8-150000.3.9.1UnknownSource applicability is not established[SUSE-SU-2022:3347-1]
Suselinux enterprise high availability extension 15rubygem-rack2.0.8-150000.3.9.1UnknownSource applicability is not established[SUSE-SU-2022:3347-1]
Suselinux enterprise high availability extension 15 sp1rubygem-rack2.0.8-150000.3.9.1UnknownSource applicability is not established[SUSE-SU-2022:3347-1]
Suselinux enterprise high availability extension 15 sp2rubygem-rack2.0.8-150000.3.9.1UnknownSource applicability is not established[SUSE-SU-2022:3347-1]
Suselinux enterprise high availability extension 15 sp3rubygem-rack2.0.8-150000.3.9.1UnknownSource applicability is not established[SUSE-SU-2022:3347-1]
Suselinux enterprise high availability extension 15 sp4rubygem-rack2.0.8-150000.3.9.1UnknownSource applicability is not established[SUSE-SU-2022:3347-1]
Ubuntu16.04ruby-rack1.5.2-4UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Ubuntu16.04ruby-rack1.6.4-2UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Ubuntu16.04ruby-rack1.6.4-3UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Ubuntu16.04ruby-rack1.6.4-3ubuntu0.1UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Ubuntu16.04ruby-rack1.6.4-3ubuntu0.2UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Ubuntu18.04ruby-rack1.6.4-4UnknownSource applicability is not established[USN-4561-1][UBUNTU-CVE-2020-8161]
Ubuntu18.04ruby-rack1.6.4-4ubuntu0.1UnknownSource applicability is not established[USN-4561-1][UBUNTU-CVE-2020-8161]
Ubuntu18.04ruby-rack1.6.4-4ubuntu0.2UnknownSource applicability is not established[USN-4561-1][UBUNTU-CVE-2020-8161]
Ubuntu20.04ruby-rack2.0.6-3UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Ubuntu20.04ruby-rack2.0.7-2UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Ubuntu20.04ruby-rack2.0.7-2ubuntu0.1UnknownSource applicability is not established[USN-4561-2][UBUNTU-CVE-2020-8161]
Original provider fields
{
  "package_releases": [
    {
      "name": "ruby-rack",
      "status": "fixed",
      "release": "sid",
      "version": "3.2.7-1"
    },
    {
      "name": "ruby-rack",
      "status": "fixed",
      "release": "forky",
      "version": "3.2.7-1"
    },
    {
      "name": "ruby-rack",
      "status": "fixed",
      "release": "trixie",
      "version": "3.1.20-0+deb13u1"
    },
    {
      "name": "ruby-rack",
      "status": "fixed",
      "release": "trixie-security",
      "version": "3.1.20-0+deb13u2"
    },
    {
      "name": "ruby-rack",
      "status": "fixed",
      "release": "bookworm",
      "version": "2.2.22-0+deb12u1"
    },
    {
      "name": "ruby-rack",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "2.2.22-0+deb12u2"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "ruby-rack",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.1-5"
    },
    {
      "bug": null,
      "name": "ruby-rack",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.1-5"
    },
    {
      "bug": null,
      "name": "ruby-rack",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.1-5"
    },
    {
      "bug": null,
      "name": "ruby-rack",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.1-5"
    }
  ],
  "distribution_packages": [
    {
      "name": "ruby-rack",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.4-4ubuntu0.2"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "1.6.4-4",
        "1.6.4-4ubuntu0.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-4561-1",
      "fixed_version": "1.6.4-4ubuntu0.2",
      "provider_source": "pypi",
      "provider_record_id": "USN-4561-1",
      "provider_updated_at": "2026-02-10T04:41:56Z",
      "applicability_unknown": true
    },
    {
      "name": "ruby-rack",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.4-3ubuntu0.2"
            }
          ]
        }
      ],
      "release": "16.04",
      "versions": [
        "1.5.2-4",
        "1.6.4-2",
        "1.6.4-3",
        "1.6.4-3ubuntu0.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-4561-2",
      "fixed_version": "1.6.4-3ubuntu0.2",
      "provider_source": "pypi",
      "provider_record_id": "USN-4561-2",
      "provider_updated_at": "2026-02-10T04:41:56Z",
      "applicability_unknown": true
    },
    {
      "name": "ruby-rack",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.7-2ubuntu0.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "2.0.6-3",
        "2.0.7-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-4561-2",
      "fixed_version": "2.0.7-2ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "USN-4561-2",
      "provider_updated_at": "2026-02-10T04:41:56Z",
      "applicability_unknown": true
    },
    {
      "name": "ruby-rack",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.4-3ubuntu0.2"
            }
          ]
        }
      ],
      "release": "16.04",
      "versions": [
        "1.5.2-4",
        "1.6.4-2",
        "1.6.4-3",
        "1.6.4-3ubuntu0.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-8161",
      "fixed_version": "1.6.4-3ubuntu0.2",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2020-8161",
      "provider_updated_at": "2026-02-04T04:02:31.681241Z",
      "applicability_unknown": true
    },
    {
      "name": "ruby-rack",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.4-4ubuntu0.2"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "1.6.4-4",
        "1.6.4-4ubuntu0.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-8161",
      "fixed_version": "1.6.4-4ubuntu0.2",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2020-8161",
      "provider_updated_at": "2026-02-04T04:02:31.681241Z",
      "applicability_unknown": true
    },
    {
      "name": "ruby-rack",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.7-2ubuntu0.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "2.0.6-3",
        "2.0.7-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-8161",
      "fixed_version": "2.0.7-2ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2020-8161",
      "provider_updated_at": "2026-02-04T04:02:31.681241Z",
      "applicability_unknown": true
    },
    {
      "name": "rubygem-rack",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8-150000.3.9.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high availability extension 15",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3347-1",
      "fixed_version": "2.0.8-150000.3.9.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2022:3347-1",
      "provider_updated_at": "2026-02-04T02:41:04.753951Z",
      "applicability_unknown": true
    },
    {
      "name": "rubygem-rack",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8-150000.3.9.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high availability extension 15 sp1",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3347-1",
      "fixed_version": "2.0.8-150000.3.9.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2022:3347-1",
      "provider_updated_at": "2026-02-04T02:41:04.753951Z",
      "applicability_unknown": true
    },
    {
      "name": "rubygem-rack",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8-150000.3.9.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high availability extension 15 sp2",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3347-1",
      "fixed_version": "2.0.8-150000.3.9.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2022:3347-1",
      "provider_updated_at": "2026-02-04T02:41:04.753951Z",
      "applicability_unknown": true
    },
    {
      "name": "rubygem-rack",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8-150000.3.9.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high availability extension 15 sp3",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3347-1",
      "fixed_version": "2.0.8-150000.3.9.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2022:3347-1",
      "provider_updated_at": "2026-02-04T02:41:04.753951Z",
      "applicability_unknown": true
    },
    {
      "name": "rubygem-rack",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8-150000.3.9.1"
            }
          ]
        }
      ],
      "release": "linux enterprise high availability extension 15 sp4",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3347-1",
      "fixed_version": "2.0.8-150000.3.9.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2022:3347-1",
      "provider_updated_at": "2026-02-04T02:41:04.753951Z",
      "applicability_unknown": true
    },
    {
      "name": "rubygem-rack",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8-150000.3.9.1"
            }
          ]
        }
      ],
      "release": "leap 15.3",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3347-1",
      "fixed_version": "2.0.8-150000.3.9.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2022:3347-1",
      "provider_updated_at": "2026-02-04T02:41:04.753951Z",
      "applicability_unknown": true
    },
    {
      "name": "rubygem-rack",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.8-150000.3.9.1"
            }
          ]
        }
      ],
      "release": "leap 15.4",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3347-1",
      "fixed_version": "2.0.8-150000.3.9.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2022:3347-1",
      "provider_updated_at": "2026-02-04T02:41:04.753951Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [ruby-rack]Unknown
    Details (4)
    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

[Debian 13 (Trixie)]

  • [ruby-rack]Unknown
    Details (5)
    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u2 · all · trixie-security

      Fixed · Fixed: 2.1.1-5

      dsa · ruby-rack · debian · 13

Observed:

References