Skip to content
Noroxi
CVE-2014-7818· NVD / CVE Program· CNA redhat

Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20,

Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20, 4.0.x before 4.0.11, 4.1.x before 4.1.7, and 4.2.x before 4.2.0.beta3, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via a /..%2F sequence.

MediumCVSS 4.3 · v2.0—No exploit Fix available
Published
Nov 8, 2014
Updated
Jun 16, 2026
EPSS
3.5% · 89th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.5%

Affected systems

VendorProduct
rubyonrailsrails
rubyonrailsruby on rails
opensuseopensuse

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • opensuse opensuse12.3
  • opensuse opensuse13.1
  • opensuse opensuse13.2
  • rubyonrails rails3.0.0
  • rubyonrails rails3.0.1
  • rubyonrails rails3.0.10
  • rubyonrails rails3.0.11
  • rubyonrails rails3.0.12
  • rubyonrails rails3.0.13
  • rubyonrails rails3.0.14
  • rubyonrails rails3.0.16
  • rubyonrails rails3.0.17
  • rubyonrails rails3.0.18
  • rubyonrails rails3.0.19
  • rubyonrails rails3.0.2
  • rubyonrails rails3.0.20
  • rubyonrails rails3.0.3
  • rubyonrails rails3.0.4
  • rubyonrails rails3.0.5
  • rubyonrails rails3.0.6

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12railsbefore 2:4.1.8-12:4.1.8-1
RubyGemsactionpackfrom 3.0.0 · before 3.2.203.2.20
RubyGemsactionpackfrom 4.0.0 · before 4.0.114.0.11
RubyGemsactionpackfrom 4.1.0 · before 4.1.74.1.7
RubyGemsactionpackfrom 4.2.0.beta1 · before 4.2.0.beta34.2.0.beta3

Other highest-scoring records for the same primary product.

  • CVE-2019-5418There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accepKEV
    90Now
  • CVE-2016-0752Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, anKEV
    89Now
  • CVE-2019-5420A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically gene
    66This week
  • CVE-2020-8163The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument o
    60This week
  • CVE-2013-0156active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.1
    60This week
  • CVE-2013-0333lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to
    59Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rails2:4.1.8-1 · Debian:12Package registry (OSV)
RubyGems:actionpack3.2.20Package registry (OSV)
RubyGems:actionpack4.0.11Package registry (OSV)
RubyGems:actionpack4.1.7Package registry (OSV)
RubyGems:actionpack4.2.0.beta3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    none
    Availability
    none
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    None
    Availability impact
    None

    CVSS vector

    AV:N/AC:M/Au:N/C:P/I:N/A:N

    nvd-primary

    Root cause

    A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

    A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

    Vulnerable

    ts
    const file = path.join(ROOT, req.query.name);res.sendFile(file);

    Fixed

    ts
    const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records