GitHub Advisoryadvisory · RubyGems
GHSA-cj92-c4fj-w9c5 Mail Gem Path Traversal vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2012-2139
- Ecosystem
- RubyGems
- Packages
- Severity
- Moderate
- Weaknesses
- CWE-22
- Reviewed
- 2020-06-16
Affected packages
• RubyGems mail: < 2.4.4 → fixed in 2.4.4
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-2139 advisory
- https://github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f web
- https://bugzilla.novell.com/show_bug.cgi?id=759092 web
- https://bugzilla.redhat.com/show_bug.cgi?id=816352 web
- https://github.com/mikel/mail package
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html web
- http://www.openwall.com/lists/oss-security/2012/04/25/8 web
- http://www.openwall.com/lists/oss-security/2012/04/26/1 web