CVE-2020-8161

NameCVE-2020-8161
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2216-1, DLA-2275-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-rack (PTS)stretch1.6.4-4+deb9u1vulnerable
stretch (security)1.6.4-4+deb9u2fixed
buster2.0.6-3vulnerable
bullseye, sid2.1.1-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-racksourcejessie1.5.2-3+deb8u3DLA-2216-1
ruby-racksourcestretch1.6.4-4+deb9u2DLA-2275-1
ruby-racksource(unstable)2.1.1-5

Notes

[buster] - ruby-rack <no-dsa> (Minor issue; can be fixed via point release)
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

Search for package or bug name: Reporting problems