Skip to content
OpenAdvisories
Medium CVE-2007-5379 EUVD-2017-0231GHSA-fjfg-q662-gm6j

Moderate severity vulnerability that affects rails

Published Oct 19, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 1.2.5-1 —
Debian 13 rails 1.2.5-1 —
Debian 12 rails 1.2.5-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems rails < 1.2.4 1.2.4 GHSA-fjfg-q662-gm6j

References