Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rails
  4. ›
  5. CVE-2007-5379

CVE-2007-5379: Moderate severity vulnerability that affects rails

October 24, 2017 (updated May 1, 2025)

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.

References

  • github.com/advisories/GHSA-fjfg-q662-gm6j
  • github.com/rails/rails
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-5379.yml
  • nvd.nist.gov/vuln/detail/CVE-2007-5379
  • rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
  • web.archive.org/web/20090602000500/http://dev.rubyonrails.org/ticket/8453

Code Behaviors & Features

Detect and mitigate CVE-2007-5379 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 before 1.2.4

Fixed versions

  • 1.2.4

Solution

Upgrade to version 1.2.4 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

gem/rails/CVE-2007-5379.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:58 +0000.