CVE-2016-0752: Vulnerability in Rubyonrails Rails

Actively exploited. Directory 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, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.

Exploited in the wild, RubyGems, CWE-22

Exploitation
Confirmed 25 Mar 2022
Severity
7.5 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
Agencies by 15 Apr 2022

Details

Advisory ID
GHSA-xrr4-p6fq-hjg7
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H
Weakness
CWE-22
Published
16 Feb 2016
Last change
17 Jun 2026
Ecosystem
RubyGems

Affected products

Affected versions and the first fixed release

  • Rubyonrails Rails Before 3.2.22.1; From 4.0.0 before 4.1.14.1; From 4.2.0 before 4.2.5.1; Version 5.0.0. Fixed in 3.2.22.1, 4.1.14.1, 4.2.5.1
  • Opensuse Leap Version 42.1. No fixed version recorded
  • Opensuse Version 13.2. No fixed version recorded
  • SUSE Linux Enterprise Module For Containers Version 12. No fixed version recorded
  • Debian Linux Version 8.0. No fixed version recorded
  • Red Hat Software Collections Version 1.0. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • actionview RubyGems, Affected from 4.0.0 through 4.1.14.0. Fixed in 4.1.14.1
  • actionpack RubyGems, Affected from 4.0.0 through 4.1.14.0. Fixed in 4.1.14.1

Advisories

Vendor and security advisories

Related