CVE-2007-5379
MEDIUM 5.0CVSS 2.0Moderate severity vulnerability that affects rails
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.
- Published
- 19 Oct 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-fjfg-q662-gm6j
- Sources
- NVDJSONOSV GHSA-fjfg-q662-gm6jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | david_hansson | ruby_on_railscpe:2.3:a:david_hansson:ruby_on_rails:*:*:*:*:*:*:*:* |
<= 1.2.3 | |
| OSV | RubyGems | rails | < 1.2.4 | 1.2.4 |
References
- http://bugs.gentoo.org/show_bug.cgi?id=195315 · WEB
- http://dev.rubyonrails.org/ticket/8453
- http://docs.info.apple.com/article.html?artnum=307179 · WEB
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html · WEB
- http://osvdb.org/40717
- http://secunia.com/advisories/27657
- http://secunia.com/advisories/28136
- http://security.gentoo.org/glsa/glsa-200711-17.xml · WEB
- http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
- http://www.securityfocus.com/bid/26096 · Patch
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html · US Government Resource, WEB
- http://www.vupen.com/english/advisories/2007/3508 · WEB
- http://www.vupen.com/english/advisories/2007/4238 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2007-5379 · ADVISORY
- https://github.com/rails/rails · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-5379.yml · WEB
- https://rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release · WEB
- https://web.archive.org/web/20090602000500/http://dev.rubyonrails.org/ticket/8453 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 19 Oct 2007)