Directory Traversal Affecting rubygem-mail package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.92% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBYGEMMAIL-9867442
  • published28 Apr 2025
  • disclosed14 Mar 2012

Introduced: 14 Mar 2012

CVE-2012-2139  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 rubygem-mail.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-mail package and not the rubygem-mail package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1