{"id":"CVE-2012-2140","sourceIdentifier":"secalert@redhat.com","published":"2012-07-18T18:55:01.510","lastModified":"2026-06-16T23:41:04.290","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La gema Mail antes de v2.4.3 para Ruby permite a atacantes remotos ejecutar comandos arbitrarios a través de metacaracteres en  (1) sendmail o (2) una entrega exim."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-20"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:*","versionEndIncluding":"2.4.1","matchCriteriaId":"8FB39856-2AE6-43F8-B7AE-B58CBB1AF693"},{"vulnerable":true,"criteria":"cpe:2.3:a:rubygems:mail_gem:2.3.2:*:*:*:*:*:*:*","matchCriteriaId":"5CCE5E86-3A46-4B27-8626-4106778E990B"},{"vulnerable":true,"criteria":"cpe:2.3:a:rubygems:mail_gem:2.3.3:*:*:*:*:*:*:*","matchCriteriaId":"B0743617-3C95-4DFE-B19B-425FE4A4876B"}]}]}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48970","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/25/8","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2012/04/26/1","source":"secalert@redhat.com"},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=759092","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=816352","source":"secalert@redhat.com"},{"url":"https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc","source":"secalert@redhat.com"},{"url":"https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0","source":"secalert@redhat.com","tags":["Exploit","Patch"]},{"url":"https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2","source":"secalert@redhat.com","tags":["Exploit","Patch"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48970","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/25/8","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2012/04/26/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=759092","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=816352","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch"]},{"url":"https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch"]}]}