HighGHSA-rvpq-5xqx-pfppCVE-2006-4111

Ruby on Rails vulnerable to code injection

Published 24 Oct 2017 · Updated 3 Apr 2025

Is your project on an affected rails?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

railsRubyGems
Affected
>=1.1.0 <1.1.6
Fixed in
1.1.6
Update to the fixed version for your release line, for example:bundle update --conservative rails # Gemfile: '>= 1.1.6'

Details

Ruby on Rails before 1.1.5 allows remote attackers to execute Ruby code with "severe" or "serious" impact via a File Upload request with an HTTP header that modifies the LOAD_PATH variable, a different vulnerability than CVE-2006-4112.

Is GHSA-rvpq-5xqx-pfpp in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected rails, and gives you the command that fixes it.

More advisories for rails

  • MediumCVE-2024-26143Rails has possible XSS Vulnerability in Action Controller · 27 Feb 2024
  • CriticalCVE-2009-2422rails vulnerable to improper authentication · 24 Oct 2017
  • HighCVE-2006-4112Rails Denial of Service vulnerability · 24 Oct 2017
  • MediumCVE-2009-4214Moderate severity vulnerability that affects rails · 24 Oct 2017
  • MediumCVE-2007-5379Moderate severity vulnerability that affects rails · 24 Oct 2017
  • MediumCVE-2007-3227Moderate severity vulnerability that affects rails · 24 Oct 2017
All 11 advisories for rails

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.