CVE-2012-2139: Rubygems Mail Gem

Medium severity, CVSS 5.0. EPSS: 4.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Rubygems Mail Gem: up to and including 2.4.3; version 2.3.2 only; version 2.3.3 only; version 2.4.1 only

Published 2012-07-18. Last modified 2026-06-16.