VDB
Sign up
MEDIUM

GHSA-fjfg-q662-gm6j

Moderate severity vulnerability that affects rails

Quick fix

GHSA-fjfg-q662-gm6j — rails: upgrade to the fixed version with the command below.

bundle update rails

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rails
Introduced in: 0Fixed in: 1.2.4
Fixbundle update rails

References