CVE-2013-0262
What it is
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."
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.9% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.9% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Rack Project Rack 1.4.0
- Rack Project Rack 1.4.1
- Rack Project Rack 1.4.2
- Rack Project Rack 1.4.3
- Rack Project Rack 1.4.4
- Rack Project Rack 1.5.0
- Rack Project Rack 1.5.1
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-0262.md and follow it. Check whether this project is affected by CVE-2013-0262. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/52033
- https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30
- http://secunia.com/advisories/52033
- https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30
References
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00048.html
- http://rack.github.com/
- http://secunia.com/advisories/52033
- https://bugzilla.redhat.com/show_bug.cgi?id=909071
- https://bugzilla.redhat.com/show_bug.cgi?id=909072
- https://gist.github.com/rentzsch/4736940
- https://github.com/rack/rack/blob/master/lib/rack/file.rb#L56
- https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30
- https://groups.google.com/forum/#%21msg/rack-devel/bf937jPZxJM/1s6x95vIhmAJ
- https://groups.google.com/forum/#%21msg/rack-devel/mZsuRonD7G8/DpZIOmMLbOgJ
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00048.html
- http://rack.github.com/
- http://secunia.com/advisories/52033
- https://bugzilla.redhat.com/show_bug.cgi?id=909071
- https://bugzilla.redhat.com/show_bug.cgi?id=909072
- https://gist.github.com/rentzsch/4736940
- https://github.com/rack/rack/blob/master/lib/rack/file.rb#L56
- https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30
- https://groups.google.com/forum/#%21msg/rack-devel/bf937jPZxJM/1s6x95vIhmAJ
- https://groups.google.com/forum/#%21msg/rack-devel/mZsuRonD7G8/DpZIOmMLbOgJ