RubySec

Providing security resources for the Ruby community

CVE-2012-2139 (mail): CVE-2012-2139 rubygem-mail: directory traversal

ADVISORIES

GEM

mail

SEVERITY

CVSS v2: 5.0 (Medium)

PATCHED VERSIONS

  • >= 2.4.4

DESCRIPTION

Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb in the Mail gem before 2.4.4 for Ruby allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter.