GitHub Advisoryadvisory · RubyGems

GHSA-h56m-vwxc-3qpw Directory traversal vulnerability in actionpack

MEDIUM Published 2017-10-24 Modified 2023-08-25 Official page ↗
Aliases
CVE-2014-7829
Ecosystem
RubyGems
Packages
actionpack
Severity
Moderate
Weaknesses
CWE-22
Reviewed
2020-06-17

Affected packages

• RubyGems actionpack: >= 4.1.0, < 4.1.8 → fixed in 4.1.8 • RubyGems actionpack: >= 3.0.0, < 3.2.21 → fixed in 3.2.21 • RubyGems actionpack: >= 4.0.0, < 4.0.12 → fixed in 4.0.12 • RubyGems actionpack: >= 4.2.0.beta1, < 4.2.0.beta4 → 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.

Related

Alias · CVE (1)

  • 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,… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References