7.5

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.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v2.0 (NVD)
EPSS score
4.47%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 18-07-2012
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last 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 version

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 catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Mail

    Maturity: poc

Weaknesses

CWE · root cause

Affected 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
Show all 14 references