CVE-2012-2140: Rubygems Mail Gem
High severity, CVSS 7.5. EPSS: 4.5% chance of exploitation in the next 30 days.
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.
Affected products
- Rubygems Mail Gem: up to and including 2.4.1; version 2.3.2 only; version 2.3.3 only
Published 2012-07-18. Last modified 2026-06-16.