Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rails
  4. ›
  5. CVE-2016-0752

CVE-2016-0752: Path Traversal

February 16, 2016 (updated August 8, 2019)

The Rails gem allows remote attackers to read arbitrary files by leveraging an application’s unrestricted use of the render method and providing a .. in a pathname.

References

  • nvd.nist.gov/vuln/detail/CVE-2016-0752

Code Behaviors & Features

Detect and mitigate CVE-2016-0752 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 up to 5.0.0

Fixed versions

  • 5.0.1

Solution

Upgrade to versions 5.0.1 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

gem/rails/CVE-2016-0752.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.