CVE-2013-0262 json
Rack Vulnerable to Path Traversal
published 2013-02-08 13 y ago modified 2026-06-16 4 mo ago also GHSA-85r7-w5mv-c849 , EUVD-2017-0190
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- rubygems rack 1.4.5, 1.5.2
- ruby-rack Debian 14, Debian 13, Debian 12 1.4.1-2.1
debian advisories DEBIAN-CVE-2013-0262
- ruby-rack Ubuntu 14.04 LTS 1.5.2-1
ubuntu advisories UBUNTU-CVE-2013-0262
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jenkins openshift 1 1.502-1.el6op
- rubygem-rack openshift 1 1:1.3.0-4.el6op
- ruby193-rubygem-rack openshift 1 1:1.4.1-4.el6
- openshift-origin-cartridge-jenkins-1.4 openshift 1 1.0.3-1.el6op
red hat advisories RHSA-2013:0638
- rubygem-rack openSUSE Tumbleweed 3.1.18-1.3
- rubygem-rack-2.2 openSUSE Tumbleweed 2.2.22-1.1
- rubygem-rack openSUSE Tumbleweed 3.1.12-1.1
- rubygem-rack-2.2 openSUSE Tumbleweed 2.2.11-1.1
- rubyem-rack openSUSE Tumbleweed 1.4.7-1.8
- rubygem-rack openSUSE Tumbleweed 2.2.3.1-1.1
- rubygem-rack-2.2 openSUSE Tumbleweed 2.2.4-1.1
- ruby3.2-rubygem-rack-2.2 openSUSE Tumbleweed 2.2.7-1.1
opensuse advisories openSUSE-SU-2026:10358-1openSUSE-SU-2026:10286-1openSUSE-SU-2025:14875-1openSUSE-SU-2025:14811-1openSUSE-SU-2024:10115-1openSUSE-SU-2024:12119-1
- github.com/rack/rack@6f237e4 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-0262 updated cvss 4.3
rubygem-rack: Path sanitization information disclosure
-
Red Hat OpenShift Enterprise Infrastructure rubygem-rack 1.3.0-4.el6op, ruby193-rubygem-rack 1.4.1-4.el6 Red Hat OpenShift Enterprise Node jenkins 1.502-1.el6op, rubygem-rack 1.3.0-4.el6op, ruby193-rubygem-rack 1.4.1-4.el6, openshift-origin-cartridge-jenkins-1.4 1.0.3-1.el6opfixed: vendor fix RHSA-2013:0638
-
Red Hat Enterprise MRG 2 rubygem-rack Red Hat Subscription Asset Manager rubygem-racknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.94% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack | >=1.5.0, <1.5.2 >=1.4.0, <1.4.5 |
1.5.2 1.4.5 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30
web
-
lists.opensuse.org
/opensuse-updates/2013-03/msg00048.html
vendor-advisory, web
-
secunia.com
/advisories/52033
third-party-advisory, vendor-advisory
- groups.google.com /forum/#%21msg/rack-devel/mZsuRonD7G8/DpZIOmMLbOgJ
-
gist.github.com
/rentzsch/4736940
web
- rack.github.com /
-
bugzilla.redhat.com
/show_bug.cgi?id=909071
web
- groups.google.com /forum/#%21msg/rack-devel/bf937jPZxJM/1s6x95vIhmAJ
-
github.com
/rack/rack/blob/master/lib/rack/file.rb#L56
web
-
bugzilla.redhat.com
/show_bug.cgi?id=909072
web
-
nvd.nist.gov
/vuln/detail/CVE-2013-0262
advisory
-
github.com
/rack/rack
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2013-0262.yml
web
-
groups.google.com
/forum/#!msg/rack-devel/bf937jPZxJM/1s6x95vIhmAJ
web
-
groups.google.com
/forum/#!msg/rack-devel/mZsuRonD7G8/DpZIOmMLbOgJ
web
Sources
- CVE List CVE-2013-0262
- GitHub Advisory GHSA-85r7-w5mv-c849
- NVD CVE-2013-0262
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.