CVE-2007-5379David Hansson Ruby On Rails
Medium 5.0 No auth needed
Follow: this CVE · David Hansson · David Hansson Ruby On Rails We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Oct 19, 2007
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ruby On Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rails |
< 1.2.4 |
1.2.4 |
gem "rails", ">= 1.2.4" |
Per OSV / GitHub Advisories (GHSA-fjfg-q662-gm6j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| david_hansson | ruby_on_rails | ≤ 1.2.3 |
Official sources
References
Links published by the sources. Open them with care.