CVE-2012-2140: rubygems mail_gem Improper Input Validation
Modified
AliasesDEBIAN-CVE-2012-2140GHSA-rp63-jfmw-532w
Published 18-07-2012Last modified 06-08-2024
Vulnerability summary
CVE-2012-2140 is a high (CVSS 7.5) Improper Input Validation vulnerability in rubygems mail_gem. EPSS estimates a 4.47% chance of exploitation in the next 30 days, higher than 91.4% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v2.0 (NVD)EPSS score
4.47%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github
Timeline
- 18-07-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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 metrics
1 score · 1 source · 1 versionHigh 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
4.47%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.47% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundMail
Maturity: poc
Weaknesses
CWE · root causeAffected systems
RubyGems2 products
- mail< 2.4.3
- mail_gem≤ 2.4.1 | 2.3.2 | 2.3.3
Debian1 product
- ruby-mail< 2.4.4-1
2 vendors · 3 products
References
14 links- lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.htmlVendor AdvisoryX Refsource FEDORAWEB
- github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2X Refsource CONFIRMExploitPatchWEB
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.htmlVendor AdvisoryX Refsource FEDORAWEB
- github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0X Refsource CONFIRMExploitPatchWEB
- github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdocX Refsource CONFIRMWEB
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.htmlVendor AdvisoryX Refsource FEDORAWEB
Show all 14 references
- github.com/mikel/mailPACKAGE