CVE-2019-18978

NameCVE-2019-18978
DescriptionAn 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.
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)
NVD severitymedium
Debian Bugs944849

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-rack-cors (PTS)jessie0.2.9-1vulnerable
stretch (security), stretch0.4.0-1+deb9u1vulnerable
bullseye, sid, buster1.0.2-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-rack-corssource(unstable)(unfixed)944849

Notes

https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d
https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4

Search for package or bug name: Reporting problems