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
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* 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
References (12)
URL | Tag | Source |
---|---|---|
http://www.openwall.com/lists/oss-security/2012/04/25/8 | Mailing List | |
http://www.openwall.com/lists/oss-security/2012/04/26/1 | Mailing List | |
https://bugzilla.novell.com/show_bug.cgi?id=759092 | X_refsource_misc | |
https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0 | 2024-08-06 | |
https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2 | 2024-08-06 |
URL | Date | SRC |
---|
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
|