Moderate severity vulnerability that affects rails
Published 24 Oct 2017 · Updated 1 May 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
- Affected
- <1.2.4
- Fixed in
- 1.2.4
bundle update --conservative rails # Gemfile: '>= 1.2.4'Details
Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers and ActiveResource servers to determine the existence of arbitrary files and read arbitrary XML files via the Hash.from_xml (Hash#from_xml) method, which uses XmlSimple (XML::Simple) unsafely, as demonstrated by reading passwords from the Pidgin (Gaim) .purple/accounts.xml file.
Is GHSA-fjfg-q662-gm6j 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
- HighCVE-2006-4111Ruby on Rails vulnerable to code injection · 24 Oct 2017
- MediumCVE-2009-4214Moderate 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-2007-5379
- Packagegithub.com/rails/rails
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-5379.yml
- Linkrubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
- Linkweb.archive.org/web/20090602000500/http://dev.rubyonrails.org/ticket/8453
- Linkbugs.gentoo.org/show_bug.cgi?id=195315
- Linkdocs.info.apple.com/article.html?artnum=307179
- Linklists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- Linksecurity.gentoo.org/glsa/glsa-200711-17.xml
- Linkwww.us-cert.gov/cas/techalerts/TA07-352A.html
- Linkwww.vupen.com/english/advisories/2007/3508
- Linkwww.vupen.com/english/advisories/2007/4238
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.