CVE-2019-18978 The rack-cors rubygem may allow directory traveral
MediumCVSS 5.3
EPSS 2.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems rack-cors(RubyGems) | < 1.0.4 | 1.0.4 |
| debian/ruby-rack-cors(Debian:12) | < 1.1.1-1 | 1.1.1-1 |
| debian/ruby-rack-cors(Debian:14) | < 1.1.1-1 | 1.1.1-1 |
| debian/ruby-rack-cors(Debian:13) | < 1.1.1-1 | 1.1.1-1 |
| rubygems rack-cors(RubyGems) | = 0.1.0 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.1.1 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.0 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.2 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.4 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.5 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.6 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.7 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.8 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.2.9 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.3.0 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.3.1 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.4.0 | No fix listed |
| rubygems rack-cors(RubyGems) | = 0.4.1 | No fix listed |
| rubygems rack-cors(RubyGems) | = 1.0.0 | No fix listed |
| rubygems rack-cors(RubyGems) | = 1.0.1 | No fix listed |
| rubygems rack-cors(RubyGems) | = 1.0.2 | No fix listed |
| rubygems rack-cors(RubyGems) | = 1.0.3 | No fix listed |
| rack-cors project rack-cors | < 1.0.4 | 1.0.4 |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian linux | = 10.0 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- [debian-lts-announce] 20200206 [SECURITY] [DLA 2096-1] ruby-rack-cors security update mailing-list third-party-advisory
- [debian-lts-announce] 20201001 [SECURITY] [DLA 2389-1] ruby-rack-cors security update mailing-list third-party-advisory
- USN-4571-1 third-party-advisory vendor-advisory
- DSA-4918 third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2019-18978 vendor-advisory
- bugs.debian.org issue-tracking
- github.com product