Skip to content
OpenAdvisories
Medium CVE-2012-2139 EUVD-2017-0219GHSA-cj92-c4fj-w9c5

Mail Gem Path Traversal vulnerability

Published Jul 18, 2012 · Updated Aug 6, 2024 · Assigned by redhat

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.

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 ruby-mail 2.4.4-1 —
Debian 13 ruby-mail 2.4.4-1 —
Debian 12 ruby-mail 2.4.4-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems mail < 2.4.4 2.4.4 GHSA-cj92-c4fj-w9c5

References