
CVE catalog
CVE-2020-8161
ruby-rack affected and fixed versions
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.9
CVSS: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 / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie-security | ruby-rack | 3.1.20-0+deb13u2 | Fixed | [CVE-2020-8161] |
| Debiantrixie | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debiantrixie | ruby-rack | 3.1.20-0+deb13u1 | Fixed | [CVE-2020-8161] |
| Debiansid | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debiansid | ruby-rack | 3.2.7-1 | Fixed | [CVE-2020-8161] |
| Debianforky | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debianforky | ruby-rack | 3.2.7-1 | Fixed | [CVE-2020-8161] |
| Debianbookworm-security | ruby-rack | 2.2.22-0+deb12u2 | Fixed | [CVE-2020-8161] |
| Debianbookworm | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debianbookworm | ruby-rack | 2.2.22-0+deb12u1 | Fixed | [CVE-2020-8161] |
Showing 10 fix observations. All 28 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debianbookworm | ruby-rack | 2.2.22-0+deb12u1 | Fixed | [CVE-2020-8161] |
| Debianbookworm-security | ruby-rack | 2.2.22-0+deb12u2 | Fixed | [CVE-2020-8161] |
| Debianforky | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debianforky | ruby-rack | 3.2.7-1 | Fixed | [CVE-2020-8161] |
| Debiansid | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debiansid | ruby-rack | 3.2.7-1 | Fixed | [CVE-2020-8161] |
| Debiantrixie | ruby-rack | 2.1.1-5 | FixedDistribution-reported fixed boundary | [CVE-2020-8161] |
| Debiantrixie | ruby-rack | 3.1.20-0+deb13u1 | Fixed | [CVE-2020-8161] |
| Debiantrixie-security | ruby-rack | 3.1.20-0+deb13u2 | Fixed | [CVE-2020-8161] |
| Opensuseleap 15.3 | rubygem-rack | 2.0.8-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3347-1] |
| Opensuseleap 15.4 | rubygem-rack | 2.0.8-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3347-1] |
| Suselinux enterprise high availability extension 15 | rubygem-rack | 2.0.8-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3347-1] |
| Suselinux enterprise high availability extension 15 sp1 | rubygem-rack | 2.0.8-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3347-1] |
| Suselinux enterprise high availability extension 15 sp2 | rubygem-rack | 2.0.8-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3347-1] |
| Suselinux enterprise high availability extension 15 sp3 | rubygem-rack | 2.0.8-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3347-1] |
| Suselinux enterprise high availability extension 15 sp4 | rubygem-rack | 2.0.8-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3347-1] |
| Ubuntu16.04 | ruby-rack | 1.5.2-4 | UnknownSource applicability is not established | [USN-4561-2][UBUNTU-CVE-2020-8161] |
| Ubuntu16.04 | ruby-rack | 1.6.4-2 | UnknownSource applicability is not established | [USN-4561-2][UBUNTU-CVE-2020-8161] |
| Ubuntu16.04 | ruby-rack | 1.6.4-3 | UnknownSource applicability is not established | [USN-4561-2][UBUNTU-CVE-2020-8161] |
| Ubuntu16.04 | ruby-rack | 1.6.4-3ubuntu0.1 | UnknownSource applicability is not established | [USN-4561-2][UBUNTU-CVE-2020-8161] |
| Ubuntu16.04 | ruby-rack | 1.6.4-3ubuntu0.2 | UnknownSource applicability is not established | [USN-4561-2][UBUNTU-CVE-2020-8161] |
| Ubuntu18.04 | ruby-rack | 1.6.4-4 | UnknownSource applicability is not established | [USN-4561-1][UBUNTU-CVE-2020-8161] |
| Ubuntu18.04 | ruby-rack | 1.6.4-4ubuntu0.1 | UnknownSource applicability is not established | [USN-4561-1][UBUNTU-CVE-2020-8161] |
| Ubuntu18.04 | ruby-rack | 1.6.4-4ubuntu0.2 | UnknownSource applicability is not established | [USN-4561-1][UBUNTU-CVE-2020-8161] |
| Ubuntu20.04 | ruby-rack | 2.0.6-3 | UnknownSource applicability is not established | [USN-4561-2][UBUNTU-CVE-2020-8161] |
| Ubuntu20.04 | ruby-rack | 2.0.7-2 | UnknownSource applicability is not established | [USN-4561-2][UBUNTU-CVE-2020-8161] |
| Ubuntu20.04 | ruby-rack | 2.0.7-2ubuntu0.1 | UnknownSource 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 · bookwormFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12
2.2.22-0+deb12u1· all · bookwormFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12
[Debian 13 (Trixie)]
- [ruby-rack]Unknown
Details (5)
3.1.20-0+deb13u1· all · trixieFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixieFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-securityFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · 13
3.1.20-0+deb13u2· all · trixie-securityFixed · Fixed:
2.1.1-5dsa · ruby-rack · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2020_2678-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-8161]
- [https://osv.dev/vulnerability/DLA-2216-1]
- [https://osv.dev/vulnerability/DLA-2275-1]
- [https://osv.dev/vulnerability/DLA-3298-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:3347-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-8161]
- [https://osv.dev/vulnerability/USN-4561-1]
- [https://osv.dev/vulnerability/USN-4561-2]
- [https://security-tracker.debian.org/tracker/CVE-2020-8161]
- [https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-8161.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]