Name | CVE-2019-18978 |
Description | An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format. |
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-2096-1, DLA-2389-1, DSA-4918-1 |
Debian Bugs | 944849 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-rack-cors (PTS) | jessie, jessie (lts) | 0.2.9-1+deb8u1 | fixed |
stretch (security), stretch (lts), stretch | 0.4.0-1+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 1.0.2-1+deb10u1 | fixed | |
bullseye, bookworm | 1.1.1-1 | fixed | |
sid, trixie | 2.0.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-rack-cors | source | wheezy | (unfixed) | end-of-life | ||
ruby-rack-cors | source | jessie | 0.2.9-1+deb8u1 | DLA-2096-1 | ||
ruby-rack-cors | source | stretch | 0.4.0-1+deb9u2 | DLA-2389-1 | ||
ruby-rack-cors | source | buster | 1.0.2-1+deb10u1 | DSA-4918-1 | ||
ruby-rack-cors | source | (unstable) | 1.1.1-1 | 944849 |
https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d
https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4