// For flags

CVE-2012-2140

rubygem-mail: arbitrary command execution when using exim or sendmail from commandline

Severity Score

7.5
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

2
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2012-04-04 CVE Reserved
  • 2012-07-18 CVE Published
  • 2024-08-06 CVE Updated
  • 2024-08-06 EPSS Updated
  • 2024-08-06 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-20: Improper Input Validation
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Rubygems
Search vendor "Rubygems"
Mail Gem
Search vendor "Rubygems" for product "Mail Gem"
<= 2.4.1
Search vendor "Rubygems" for product "Mail Gem" and version " <= 2.4.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Mail Gem
Search vendor "Rubygems" for product "Mail Gem"
2.3.2
Search vendor "Rubygems" for product "Mail Gem" and version "2.3.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Mail Gem
Search vendor "Rubygems" for product "Mail Gem"
2.3.3
Search vendor "Rubygems" for product "Mail Gem" and version "2.3.3"
-
Affected