CVE-2012-2139
CVE-2012-2139 is a medium-severity vulnerability in Rubygems Mail Gem with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.0)
- EPSS exploit prediction: 5% (91st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-22
- Affected product: Rubygems Mail Gem
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2012-2139?
- CVE-2012-2139 has a CVSS 2.0 base score of 5.0, rated medium severity.
- Is CVE-2012-2139 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-2139?
- CVE-2012-2139 primarily affects Rubygems Mail Gem. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-2139?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-2139 published?
- CVE-2012-2139 was published on 2012-07-18 and last updated on 2026-06-16.
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
- http://secunia.com/advisories/48970
- http://www.openwall.com/lists/oss-security/2012/04/25/8
- http://www.openwall.com/lists/oss-security/2012/04/26/1
- https://bugzilla.novell.com/show_bug.cgi?id=759092
- https://bugzilla.redhat.com/show_bug.cgi?id=816352
- https://github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f
Affected products (4)
- cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:*
- cpe:2.3:a:rubygems:mail_gem:2.3.2:*:*:*:*:*:*:*
- cpe:2.3:a:rubygems:mail_gem:2.3.3:*:*:*:*:*:*:*
- cpe:2.3:a:rubygems:mail_gem:2.4.1:*:*:*:*:*:*:*
More vulnerabilities in Rubygems Mail Gem
- CVE-2012-2140 — High (CVSS 7.5): The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a…
All CVEs affecting Rubygems Mail Gem →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…