GitHub Advisoryadvisory · RubyGems
GHSA-85r7-w5mv-c849 Rack Vulnerable to Path Traversal
MEDIUM
Official page ↗
- Aliases
- CVE-2013-0262
- Ecosystem
- RubyGems
- Packages
- rack
- Severity
- Moderate
- Weaknesses
- CWE-22
- Reviewed
- 2020-06-16
Affected packages
• RubyGems rack: >= 1.5.0, < 1.5.2 → fixed in 1.5.2
• RubyGems rack: >= 1.4.0, < 1.4.5 → fixed in 1.4.5
Description
`rack/file.rb` (`Rack::File`) in Rack 1.5.x before 1.5.2 and 1.4.x before 1.4.5 allows attackers to access arbitrary files outside the intended root directory via a crafted `PATH_INFO` environment variable, probably a directory traversal vulnerability that is remotely exploitable, aka "symlink path traversals."
Related
Alias · CVE (1)
- CVE-2013-0262 rack/file.rb (Rack::File) in Rack 1.5.x before 1.5.2 and 1.4.x before 1.4.5 allows attackers to access arbitrary files outside the intended… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0262 advisory
- https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30 web
- https://bugzilla.redhat.com/show_bug.cgi?id=909071 web
- https://bugzilla.redhat.com/show_bug.cgi?id=909072 web
- https://gist.github.com/rentzsch/4736940 web
- https://github.com/rack/rack package
- https://github.com/rack/rack/blob/master/lib/rack/file.rb#L56 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2013-0262.yml web
- https://groups.google.com/forum/#!msg/rack-devel/bf937jPZxJM/1s6x95vIhmAJ web
- https://groups.google.com/forum/#!msg/rack-devel/mZsuRonD7G8/DpZIOmMLbOgJ web
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00048.html web