Path Traversal in Rubygems Mail Gem
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.049, 92.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubygems Mail Gem — versions 2.3.2, 2.3.3, 2.4.1
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi
- FEDORA-2012-7535 (vendor-advisory)
- [oss-security] 20120425 CVE request: two flaws fixed in rubygem-mail 2.4.4 (mailing-list)
- FEDORA-2012-7692 (vendor-advisory)
- bugzilla.novell.com/show_bug.cgi
- secunia.com/advisories/48970 (third-party-advisory, Vendor Advisory)
- github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f (Exploit, Patch)
- FEDORA-2012-7619 (vendor-advisory)
- [oss-security] 20120425 Re: CVE request: two flaws fixed in rubygem-mail 2.4.4 (mailing-list)