Read the docs
TI-2012-01912 Aliases CVE-2012-2139GHSA-cj92-c4fj-w9c5

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—mail (RubyGems)before 2.4.42.4.4Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:*up to 2.4.3Vulnerablerubygems
cpe:2.3:a:rubygems:mail_gem:2.3.2:*:*:*:*:*:*:*2.3.2Vulnerablerubygems
cpe:2.3:a:rubygems:mail_gem:2.3.3:*:*:*:*:*:*:*2.3.3Vulnerablerubygems
cpe:2.3:a:rubygems:mail_gem:2.4.1:*:*:*:*:*:*:*2.4.1Vulnerablerubygems
  • 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 Moderate
    CloudForms 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 →

ProductStatusPlan or fix
Red Hat Subscription Asset ManagerAffectedNo fix yet
CloudForms Cloud Engine for RHEL 6 ServerFixed RHSA-2012:1542
CloudForms System Engine for RHEL 6 ServerFixed RHSA-2012:1542

Timeline

  1. 2026-10-02 Threatist record created from CVE-2012-2139
  2. 2026-10-03 Alias added: GHSA-cj92-c4fj-w9c5

References

  • 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