Read the docs
TI-2012-01913 Aliases CVE-2012-2140GHSA-rp63-jfmw-532w

The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands…

Priority MEDIUM 40CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · Partial
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.

Summary

The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery.

Why it matters now

EPSS 0.04466 91st percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial mail (RubyGems): 2.4.3Red 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.32.4.3Patch availableGHSA-rp63-jfmw-532w
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • mail (RubyGems) Vendor— Affected before 2.4.3 Fixed in 2.4.3 Patch available GHSA-rp63-jfmw-532w

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:*up to 2.4.1Vulnerablerubygems
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:*:*:*:*:*:*:*:* Versions up to 2.4.1 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

Remediation

  • Fix · GHSA-rp63-jfmw-532w mail (RubyGems) Fixed in 2.4.3 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: Important. 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-2140
  2. 2026-10-03 Alias added: GHSA-rp63-jfmw-532w

References

  • TI-2012-01912 Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb… CVSS 2.0MEDIUM 5.0

Sources