CVEvulnerability
CVE-2012-2139
5.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2012-07-18
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• rubygems mail gem (<= 2.4.3)
• rubygems mail gem 2.3.2
• rubygems mail gem 2.3.3
• rubygems mail gem 2.4.1
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html lists.fedoraproject.org
- http://secunia.com/advisories/48970 Vendor Advisory
- http://www.openwall.com/lists/oss-security/2012/04/25/8 www.openwall.com
- http://www.openwall.com/lists/oss-security/2012/04/26/1 www.openwall.com
- https://bugzilla.novell.com/show_bug.cgi?id=759092 bugzilla.novell.com
- https://bugzilla.redhat.com/show_bug.cgi?id=816352 bugzilla.redhat.com
- https://github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f Exploit, Patch
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html lists.fedoraproject.org
- http://secunia.com/advisories/48970 Vendor Advisory
- http://www.openwall.com/lists/oss-security/2012/04/25/8 www.openwall.com
- http://www.openwall.com/lists/oss-security/2012/04/26/1 www.openwall.com
- https://bugzilla.novell.com/show_bug.cgi?id=759092 bugzilla.novell.com
- https://bugzilla.redhat.com/show_bug.cgi?id=816352 bugzilla.redhat.com
- https://github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f Exploit, Patch