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

CVE-2016-2097: Possible Information Leak Vulnerability

April 7, 2016 (updated August 8, 2019)

Applications that pass unverified user input to the render method in a controller may be vulnerable to an information leak vulnerability. Impacted code will look something like this: def index; render params[:id]; end Carefully crafted requests can cause the above code to render files from unexpected places like outside the application’s view directory, and can possibly escalate this to a remote code execution attack.

References

  • groups.google.com/forum/

Code Behaviors & Features

Detect and mitigate CVE-2016-2097 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.0.alpha before 4.1.14.2

Fixed versions

  • 4.1.14.2

Solution

Upgrade to latest or use workaround; see provided link.

Impact 5.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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/actionview/CVE-2016-2097.yml

Spotted a mistake? Edit the file on GitLab.

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

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