CVE-2012-2140: Rubygems Mail Gem
High severity, CVSS 7.5. EPSS: 4.4% probability of exploitation activity 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.
What to do
No fixed version is stated in NVD's or the CNA's structured data. The description says "before 2.4.3"; check the vendor's advisory for the release that fixes it.
Affected products
Affected packages
- mail (RubyGems)
Published 2012-07-18. Last modified 2026-06-16.