CVE-2012-2139
Mail Gem Path Traversal vulnerability
CVE-2012-2139 is a medium vulnerability (CVSS 5.0) in Rubygems Mail Gem, published July 18, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.92%, the 92nd percentile. Fixed in mail 2.4.4.
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2012-2139- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-2139- Updated
- 2026-11-02
EUVDEUVD-2017-0219 No score
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.
- Record
EUVD-2017-0219- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cj92-c4fj-w9c5 No score
Mail Gem Path Traversal 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.
- Record
GHSA-cj92-c4fj-w9c5- Weakness
- CWE-22
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-2139- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-2139 No score
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.
- Record
DEBIAN-CVE-2012-2139- Updated
- 2026-11-02
OSVGHSA-cj92-c4fj-w9c5 No score
Mail Gem Path Traversal 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.
- Record
GHSA-cj92-c4fj-w9c5- Weakness
- CWE-22
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mailRubyGems |
before 2.4.4 | 2.4.4 |
ruby-mailDebian:12 |
before 2.4.4-1 | 2.4.4-1 |
ruby-mailDebian:13 |
before 2.4.4-1 | 2.4.4-1 |
ruby-mailDebian:14 |
before 2.4.4-1 | 2.4.4-1 |
mailRubyGems |
before 2.4.4, plus listed versions 1.0.01.1.01.2.11.2.51.2.6 Show 45 moreShow less1.2.81.2.91.3.01.3.11.3.21.3.31.3.41.3.51.4.01.4.11.4.21.4.31.5.01.5.11.5.21.5.31.5.41.6.02.0.32.0.52.1.02.1.12.1.22.1.32.1.52.1.5.12.1.5.22.1.5.32.2.02.2.12.2.102.2.112.2.122.2.132.2.142.2.152.2.162.2.172.2.182.2.192.2.22.2.202.2.32.2.42.2.5 |
2.4.4 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugzilla.redhat.com/show_bug.cgi?id=816352
lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
openwall.com/lists/oss-security/2012/04/25/8
lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
bugzilla.novell.com/show_bug.cgi?id=759092
secunia.com/advisories/48970
Show 7 moreShow less
github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f
lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
openwall.com/lists/oss-security/2012/04/26/1
nvd.nist.gov/vuln/detail/CVE-2012-2139
github.com/advisories/GHSA-cj92-c4fj-w9c5
security-tracker.debian.org/tracker/CVE-2012-2139
github.com/mikel/mail
Left out here: 13 versions. The JSON record has them.