Name | CVE-2020-8161 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2216-1, DLA-2275-1, DLA-3298-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-rack (PTS) | bullseye (security), bullseye | 2.1.4-3+deb11u2 | fixed |
bookworm, bookworm (security) | 2.2.6.4-1+deb12u1 | fixed | |
sid, trixie | 2.2.7-1.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-rack | source | jessie | 1.5.2-3+deb8u3 | DLA-2216-1 | ||
ruby-rack | source | stretch | 1.6.4-4+deb9u2 | DLA-2275-1 | ||
ruby-rack | source | buster | 2.0.6-3+deb10u2 | DLA-3298-1 | ||
ruby-rack | source | (unstable) | 2.1.1-5 |
https://groups.google.com/forum/#!msg/rubyonrails-security/IOO1vNZTzPA/Ylzi1UYLAAAJ
Fixed by: https://github.com/rack/rack/commit/dddb7ad18ed79ca6ab06ccc417a169fde451246e
Required followup: https://github.com/rack/rack/commit/e7ba1b0557d3ad97af1ef113bbeb5f27417983fa
Test: https://github.com/rack/rack/commit/775c836bdd25b63340399fea739532d746860a94