CVE-2020-8161
Ruby packages · 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.443% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:28.860Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.599Z | OSV |
| affected | verified | 2026-11-19T12:55:39.390Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:39.390Z | CVE Program |
Affected versions and configuration
n/a https://github.com/rack/rack; default status: unknown: Fixed in 2.1.3, >= 2.2.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "https://github.com/rack/rack",
"versions": [
{
"status": "affected",
"version": "Fixed in 2.1.3, >= 2.2.0"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://hackerone.com/reports/434404",
"tags": [
"x_transferred"
]
},
{
"url": "https://groups.google.com/g/rubyonrails-security/c/IOO1vNZTzPA",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00006.html",
"name": "[debian-lts-announce] 20200710 [SECURITY] [DLA 2275-1] ruby-rack security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://usn.ubuntu.com/4561-1/",
"name": "USN-4561-1",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00038.html",
"name": "[debian-lts-announce] 20230130 [SECURITY] [DLA 3298-1] ruby-rack security update",
"tags": [
"mailing-list",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T09:48:25.656Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-5f9h-9pjv-v6j7",
"aliases": [
"CVE-2020-8161"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.3"
}
]
}
],
"package": {
"name": "rack",
"purl": "pkg:gem/rack",
"ecosystem": "RubyGems"
},
"versions": [
"0.1.0",
"0.2.0",
"0.3.0",
"0.4.0",
"0.9.0",
"0.9.1",
"1.0.0",
"1.0.1",
"1.1.0",
"1.1.1",
"1.1.1.pre",
"1.1.2",
"1.1.3",
"1.1.4",
"1.1.5",
"1.1.6",
"1.2.0",
"1.2.1",
"1.2.2",
"1.2.3",
"1.2.4",
"1.2.5",
"1.2.6",
"1.2.7",
"1.2.8",
"1.3.0",
"1.3.0.beta",
"1.3.0.beta2",
"1.3.1",
"1.3.10",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.6",
"1.3.7",
"1.3.8",
"1.3.9",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.4.4",
"1.4.5",
"1.4.6",
"1.4.7",
"1.5.0",
"1.5.0.beta.1",
"1.5.0.beta.2",
"1.5.1",
"1.5.2",
"1.5.3",
"1.5.4",
"1.5.5",
"1.6.0",
"1.6.0.beta",
"1.6.0.beta2",
"1.6.1",
"1.6.10",
"1.6.11",
"1.6.12",
"1.6.13",
"1.6.2",
"1.6.3",
"1.6.4",
"1.6.5",
"1.6.6",
"1.6.7",
"1.6.8",
"1.6.9",
"2.0.0.alpha",
"2.0.0.rc1",
"2.0.1",
"2.0.2",
"2.0.3",
"2.0.4",
"2.0.5",
"2.0.6",
"2.0.7",
"2.0.8",
"2.0.9",
"2.0.9.1",
"2.0.9.2",
"2.0.9.3",
"2.0.9.4",
"2.1.0",
"2.1.1",
"2.1.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-5f9h-9pjv-v6j7/GHSA-5f9h-9pjv-v6j7.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8161",
"type": "ADVISORY"
},
{
"url": "https://github.com/rack/rack/commit/dddb7ad18ed79ca6ab06ccc417a169fde451246e",
"type": "WEB"
},
{
"url": "https://github.com/rack/rack",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2020-8161.yml",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/#!topic/ruby-security-ann/T4ZIsfRf2eA",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/rubyonrails-security/c/IOO1vNZTzPA",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00006.html",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00038.html",
"type": "WEB"
},
{
"url": "https://usn.ubuntu.com/4561-1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-22",
"CWE-548"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2020-07-02T19:15:00Z",
"github_reviewed_at": "2020-07-06T21:30:32Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | rack | Not a distribution channel | 2.1.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:43.599ZArchived source JSON
Source publication: 2020-07-06T21:31:02.000Z
Source modification: 2026-09-10T03:48:48.075ZDocument fingerprint
65ea4b0a73ce0ee46c9bed7dea7db065395c496a8fe9af6fec0a4affa0e9df8b - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:39.390ZArchived source JSON
Source publication: 2020-07-02T00:00:00.000Z
Source modification: 2024-08-04T09:48:25.656ZDocument fingerprint
3d5347cfa1ab36065ad8a82924cb8bf699a8eb1a2fcb475970aba05cf19edc11 - FIRST EPSSConsulted: 2026-11-19T16:04:28.860ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f5c8827616eb2ca04211842edac88756217214ce2eeb1487530f7c0502297196
Official status history
- UNKNOWN → PUBLISHED · · evidence