All reports
High

Mail Gem Improper Input Validation vulnerability

Affected versions

Affected versions
Unknown
Fixed version
Not reported
RubyGemsmail
Affected versions
< 2.4.3
Fixed version
2.4.3

Exploitation

CVE-2012-2140

Probability of exploitation in the next 30 days: 4.42%

FIRST EPSS · 2026-11-21

Description

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.

Links