CVE-2013-0262: Path Traversal

Published Feb 8, 2013
·
Updated

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 PATHINFO environment variable, probably a directory traversal vulnerability that is remotely exploitable, aka "symlink path traversals."

Other sources

James Tucker (raggi) reports:

CVE: CVE-2013-0262 Software: Rack (rack.github.com) Type of vulnerability: Information Disclosure Vulnerable code: https://github.com/rack/rack/blob/master/lib/rack/file.rb#L56 Patch: https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30 Versions affected: All versions after 1.4.0 Versions fixed: 1.4.5, 1.5.2 Reporter: Ben Murphy

Red Hat

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 PATHINFO environment variable, probably a directory traversal vulnerability that is remotely exploitable, aka "symlink path traversals."

MITRE

Affected Software

9 affected componentsFixes available
rubygems/rack>=1.4.0<1.4.5
1.4.5
rubygems/rack>=1.5.0<1.5.2
1.5.2
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

Event History

Feb 8, 2013
Data Sourced
07:59 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-0262?

CVE-2013-0262 is considered a critical vulnerability due to its potential for remote exploitation that allows arbitrary file access.

2

How do I fix CVE-2013-0262?

To fix CVE-2013-0262, upgrade Rack to version 1.4.5 or 1.5.2 or later.

3

Which versions of Rack are affected by CVE-2013-0262?

Versions of Rack 1.4.0 through 1.4.4 and 1.5.0 through 1.5.1 are affected by CVE-2013-0262.

4

What types of attacks does CVE-2013-0262 enable?

CVE-2013-0262 enables directory traversal attacks that could allow unauthorized access to sensitive files outside the intended root directory.

5

Is CVE-2013-0262 a local or remote vulnerability?

CVE-2013-0262 is a remote vulnerability that can be exploited over the network.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203