{"cve":"CVE-2012-2140","nvd":{"published":"2012-07-18T18:55:01.510","modified":"2026-06-16T23:41:04.290","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-20"],"references":["http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html","http://secunia.com/advisories/48970","http://www.openwall.com/lists/oss-security/2012/04/25/8"],"products":["rubygems:mail_gem"],"source":"nvd","synced_at":"2026-10-19T20:24:00.973572543+00:00"},"epss":{"cve":"CVE-2012-2140","score":0.04466,"percentile":0.91445,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rp63-jfmw-532w","url":"https://osv.dev/vulnerability/GHSA-rp63-jfmw-532w","summary":"Mail Gem Improper Input Validation vulnerability","modified":"2024-12-03T06:00:16.677168Z","packages":[{"ecosystem":"RubyGems","name":"mail","purl":"pkg:gem/mail","ranges":["<2.4.3"],"fixed":["2.4.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}