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?
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2006-4111
- Linkgithub.com/presidentbeef/rails-security-history/blob/master/vulnerabilities.md
- Packagegithub.com/rails/rails
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2006-4111.yml
- Linkweb.archive.org/web/20200301174340/http://www.securityfocus.com/bid/19454
- Linkweb.archive.org/web/20200808083046/http://securitytracker.com/id?1016673
- Linkblog.koehntopp.de/archives/1367-Ruby-On-Rails-Mandatory-Mystery-Patch.html
- Linkweblog.rubyonrails.org/2006/8/9/rails-1-1-5-mandatory-security-patch-and-other-tidbits
- Linkwww.gentoo.org/security/en/glsa/glsa-200608-20.xml
- Linkwww.novell.com/linux/security/advisories/2006_21_sr.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.