{"id":"CVE-2012-2140","aliases":["GHSA-rp63-jfmw-532w"],"url":"https://o3.security/vulnerability/CVE-2012-2140","summary":"Mail Gem Improper Input Validation vulnerability","details":"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.","published":"2012-07-18T18:55:01Z","modified":"2026-04-10T03:44:14.372923Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"mail","fixedVersion":"2.4.3"}],"fix":{"url":"https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0","label":"mikel/mail@39b590d"},"references":[{"type":"ADVISORY","url":"http://secunia.com/advisories/48970"},{"type":"EVIDENCE","url":"https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0"},{"type":"EVIDENCE","url":"https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2"},{"type":"FIX","url":"https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0"},{"type":"FIX","url":"https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2"},{"type":"REPORT","url":"https://bugzilla.novell.com/show_bug.cgi?id=759092"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=816352"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/04/25/8"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/04/26/1"},{"type":"WEB","url":"https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T03:44:14.372923Z"}}