CVE-2012-2139: Path Traversal

Published Mar 14, 2012
·
Updated

A flaw was corrected in rubygem-mail version 2.4.4:

A file system traversal in filedelivery method [1].

[1] https://github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f

Other sources

Directory traversal vulnerability in lib/mail/network/deliverymethods/filedelivery.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.

Directory traversal vulnerability in lib/mail/network/deliverymethods/filedelivery.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 Software

15 affected componentsFixes available
rubygems/mail<2.4.4
2.4.4
redhat/converge-ui-devel<0:1.0.4-1.el6cf
0:1.0.4-1.el6cf
redhat/puppet<0:2.6.17-2.el6cf
0:2.6.17-2.el6cf
redhat/rubygem-actionpack<1:3.0.10-10.el6cf
1:3.0.10-10.el6cf
redhat/rubygem-activerecord<1:3.0.10-6.el6cf
1:3.0.10-6.el6cf
redhat/rubygem-activesupport<1:3.0.10-4.el6cf
1:3.0.10-4.el6cf
redhat/rubygem-compass<0:0.11.5-2.el6cf
0:0.11.5-2.el6cf
redhat/rubygem-compass<960-plugin-0:0.10.4-2.el6cf
960-plugin-0:0.10.4-2.el6cf
redhat/rubygem-mail<0:2.3.0-3.el6cf
0:2.3.0-3.el6cf
redhat/rubygem-net-ldap<0:0.1.1-3.el6cf
0:0.1.1-3.el6cf
redhat/rubgem-mail<2.4.4
2.4.4
Rubygems Mail Gem<=2.4.3
Rubygems Mail Gem=2.3.2
Rubygems Mail Gem=2.3.3
Rubygems Mail Gem=2.4.1

Event History

Mar 14, 2012
CVE Published
12:00 AM
Jul 18, 2012
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2012-2139?

CVE-2012-2139 has been assigned a high severity due to the file system traversal vulnerability in rubygem-mail.

2

How do I fix CVE-2012-2139?

To fix CVE-2012-2139, upgrade rubygem-mail to version 2.4.4 or later.

3

What versions are affected by CVE-2012-2139?

CVE-2012-2139 affects versions of rubygem-mail prior to 2.4.4.

4

Is CVE-2012-2139 a remote vulnerability?

Yes, CVE-2012-2139 can be exploited remotely due to the vulnerabilities in the file_delivery method.

5

What type of vulnerability is CVE-2012-2139?

CVE-2012-2139 is a file system traversal vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203