CVE-2012-2139

CVE-2012-2139 is a medium-severity vulnerability in Rubygems Mail Gem with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.

Key facts

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.

Frequently asked questions

What is CVE-2012-2139?
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.
How severe is CVE-2012-2139?
CVE-2012-2139 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2012-2139 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-2139?
CVE-2012-2139 primarily affects Rubygems Mail Gem. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-2139?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-2139 published?
CVE-2012-2139 was published on 2012-07-18 and last updated on 2026-06-16.

References

Affected products (4)

More vulnerabilities in Rubygems Mail Gem

All CVEs affecting Rubygems Mail Gem →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →