Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb…
Priority LOW 31CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.04923 92nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial mail (RubyGems): 2.4.4Red Hat: 1 advisoryRed Hat: 2 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | mail (RubyGems) | before 2.4.4 | 2.4.4 | Patch available | GHSA-cj92-c4fj-w9c5 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- mail (RubyGems) Vendor— Affected before 2.4.4 Fixed in 2.4.4 Patch available GHSA-cj92-c4fj-w9c5
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:* | up to 2.4.3 | Vulnerable | rubygems |
| cpe:2.3:a:rubygems:mail_gem:2.3.2:*:*:*:*:*:*:* | 2.3.2 | Vulnerable | rubygems |
| cpe:2.3:a:rubygems:mail_gem:2.3.3:*:*:*:*:*:*:* | 2.3.3 | Vulnerable | rubygems |
| cpe:2.3:a:rubygems:mail_gem:2.4.1:*:*:*:*:*:*:* | 2.4.1 | Vulnerable | rubygems |
- cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:* Versions up to 2.4.3 Vulnerable ·rubygems
- cpe:2.3:a:rubygems:mail_gem:2.3.2:*:*:*:*:*:*:* Versions 2.3.2 Vulnerable ·rubygems
- cpe:2.3:a:rubygems:mail_gem:2.3.3:*:*:*:*:*:*:* Versions 2.3.3 Vulnerable ·rubygems
- cpe:2.3:a:rubygems:mail_gem:2.4.1:*:*:*:*:*:*:* Versions 2.4.1 Vulnerable ·rubygems
Remediation
- Fix · GHSA-cj92-c4fj-w9c5 mail (RubyGems) Fixed in 2.4.4 Advisory →
Red Hat 1 advisory
- RHSA-2012:1542 Released 2012-12-04 · Red Hat rating ModerateCloudForms Commons 1.1 security update
- CloudForms Cloud Engine for RHEL 6 Server converge-ui-devel-1.0.4-1.el6cf, puppet-2.6.17-2.el6cf, puppet-server-2.6.17-2.el6cf +13
- CloudForms System Engine for RHEL 6 Server converge-ui-devel-1.0.4-1.el6cf, puppet-2.6.17-2.el6cf, puppet-server-2.6.17-2.el6cf +13
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Subscription Asset Manager | Affected | No fix yet |
| CloudForms Cloud Engine for RHEL 6 Server | Fixed | RHSA-2012:1542 |
| CloudForms System Engine for RHEL 6 Server | Fixed | RHSA-2012:1542 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-2139
- 2026-10-03 Alias added: GHSA-cj92-c4fj-w9c5
References
Advisory 4
More rubygems Mail Gem vulnerabilities
- TI-2012-01913 The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands… CVSS 2.0HIGH 7.5
Sources
- CVE-2012-2139 · CVE Program
- CVE-2012-2139 · NVD
- FIRST EPSS
- GHSA-cj92-c4fj-w9c5 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-2139 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences