CVE-2012-2140
EPSS 3.7%Mail Gem Improper Input Validation vulnerability
Published: 10/24/2017Modified: 4/28/2026
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.
Affected packages (2)
- Debian/ruby-mailfrom 0, < 2.4.4-1
- RubyGems/mailfrom 0, < 2.4.3
References (13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2012-2140
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2012-2140
- PATCHhttps://github.com/mikel/mail
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
- WEBhttps://bugzilla.novell.com/show_bug.cgi?id=759092
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=816352
- WEBhttps://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc
- WEBhttps://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0
- WEBhttps://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2
- WEBhttp://www.openwall.com/lists/oss-security/2012/04/25/8
- WEBhttp://www.openwall.com/lists/oss-security/2012/04/26/1