Vulnerability advisory

CVE-2016-2097

Published Updated OSV record ↗

Also known as GHSA-vx9j-46rh-fqr8

Severity
  • CVSS 3.xCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/rails/rails ↗
375d9a0a7fb329b0fbbd75a13e93e53a00520587 through 96c4b1a1311b0f9e099db2819f08a2277377c552No fix listed
Also listed as affected (49)
  • 4.0.0-NA
  • 4.0.0-beta
  • 4.0.0-rc1
  • 4.0.0-rc2
  • 4.0.1-NA
  • 4.0.1-rc1
  • 4.0.1-rc2
  • 4.0.1-rc3
  • 4.0.1-rc4
  • 4.0.10-rc1
  • 4.0.2
  • 4.0.3
  • 4.0.4
  • 4.0.4-rc1
  • 4.0.5
  • 4.0.6
  • 4.0.6-rc1
  • 4.0.6-rc2
  • 4.0.6-rc3
  • 4.0.7
  • 4.0.8
  • 4.0.9
  • 4.1.0-NA
  • 4.1.0-beta1
  • 4.1.0-beta2
  • 4.1.0-rc1
  • 4.1.0-rc2
  • 4.1.1
  • 4.1.10-rc1
  • 4.1.10-rc2
  • 4.1.10-rc3
  • 4.1.10-rc4
  • 4.1.12-rc1
  • 4.1.13-rc1
  • 4.1.14-rc1
  • 4.1.14-rc2
  • 4.1.2
  • 4.1.2-rc1
  • 4.1.2-rc2
  • 4.1.2-rc3
  • 4.1.3
  • 4.1.4
  • 4.1.5
  • 4.1.6-rc1
  • 4.1.6-rc2
  • 4.1.7
  • 4.1.7.1
  • 4.1.8
  • 4.1.9-rc1

Description

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools