5

CVE-2012-2139: rubygems mail_gem Path Traversal

Modified
AliasesDEBIAN-CVE-2012-2139GHSA-cj92-c4fj-w9c5
Published 18-07-2012Last modified 06-08-2024

Vulnerability summary

CVE-2012-2139 is a medium (CVSS 5.0) Path Traversal vulnerability in rubygems mail_gem. EPSS estimates a 4.92% chance of exploitation in the next 30 days, higher than 92% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.0/10
010
Medium · v2.0 (NVD)
EPSS score
4.92%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 18-07-2012
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

4.92%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

No change 0.00 pp

From 4.92% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Mail

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

RubyGems2 products
  • mail< 2.4.4
  • mail_gem≤ 2.4.3 | 2.3.2 | 2.3.3 | 2.4.1
Debian1 product
  • ruby-mail< 2.4.4-1

2 vendors · 3 products

References

12 links
Show all 12 references