CVE-2012-2140
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 4.46% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 91.1% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-16.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2012-07-18 18:00Z14 YR AGO
- Last updated
- 2024-08-06 19:26Z2 YR AGO
- Reserved
- 2012-04-04
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 65afb6f06d3b457bb0d8fae82020a16d1f6af8235e27fd68204ac4ce228a57f3
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=816352
- lists.fedoraproject.orgFEDORA-2012-7535http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
- github.comhttps://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2
- www.openwall.com[oss-security] 20120425 CVE request: two flaws fixed in rubygem-mail 2.4.4http://www.openwall.com/lists/oss-security/2012/04/25/8
- lists.fedoraproject.orgFEDORA-2012-7692http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
- bugzilla.novell.comhttps://bugzilla.novell.com/show_bug.cgi?id=759092
- secunia.com48970http://secunia.com/advisories/48970
- github.comhttps://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0
- github.comhttps://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc
- lists.fedoraproject.orgFEDORA-2012-7619http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
- www.openwall.com[oss-security] 20120425 Re: CVE request: two flaws fixed in rubygem-mail 2.4.4http://www.openwall.com/lists/oss-security/2012/04/26/1
07 Fixed in
Debian 12
- ruby-mail Fixed in 2.4.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ruby-mail Fixed in 2.4.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ruby-mail Fixed in 2.4.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.