Vulnerabilities · 2012 · Rubygems
CVE-2012-2139
Rubygems Mail Gem vulnerability
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 products
Mail Gem. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubygems Mail Gem runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/48970 · Vendor Advisory
- github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f · Exploit
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
- www.openwall.com/lists/oss-security/2012/04/25/8
- www.openwall.com/lists/oss-security/2012/04/26/1
- bugzilla.novell.com/show_bug.cgi?id=759092
- nvd.nist.gov/vuln/detail/CVE-2012-2139
- cve.org/CVERecord?id=CVE-2012-2139
More vulnerabilities in Rubygems products
CVE-2024-21654CVE-2023-40165CVE-2022-36073CVE-2022-29218CVE-2022-29176CVE-2019-8325CVE-2019-8324CVE-2019-8323All 35
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.