rubygem-mail: arbitrary command execution when using exim or sendmail from commandline
Published Jul 18, 2012
7.5
HIGHCVSS 2.0
EPSS 4.47%
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.
Affected products
No data.
No data.
CloudForms for RHEL 6
converge-ui-devel-0:1.0.4-1.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
puppet-0:2.6.17-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-actionpack-1:3.0.10-10.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-activerecord-1:3.0.10-6.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-activesupport-1:3.0.10-4.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-chunky_png-0:1.2.0-3.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-compass-0:0.11.5-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-compass-960-plugin-0:0.10.4-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-delayed_job-0:2.1.4-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-ldap_fluff-0:0.1.3-1.el6_3
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-mail-0:2.3.0-3.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-net-ldap-0:0.1.1-3.el6cf
Fixed · RHSA-2012:1542
Red Hat Subscription Asset Manager
rubygem-mail
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms for RHEL 6 | converge-ui-devel-0:1.0.4-1.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | puppet-0:2.6.17-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-actionpack-1:3.0.10-10.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-activerecord-1:3.0.10-6.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-activesupport-1:3.0.10-4.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-chunky_png-0:1.2.0-3.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-compass-0:0.11.5-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-compass-960-plugin-0:0.10.4-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-delayed_job-0:2.1.4-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-ldap_fluff-0:0.1.3-1.el6_3 | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-mail-0:2.3.0-3.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-net-ldap-0:0.1.1-3.el6cf | Fixed | RHSA-2012:1542 |
| Red Hat Subscription Asset Manager | rubygem-mail | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.47% (0.04466) | 91.14th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.47% (0.04466) | 90.18th | v5 (v2026.06.15) |
| Mar 30, 2025 | 4.00% (0.04002) | 87.37th | v4 (v2025.03.14) |
| Mar 29, 2025 | 10.94% (0.10942) | 88.97th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.00% (0.04002) | 87.67th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.78% (0.02784) | 90.34th | v3 (v2023.03.01) |
| Dec 12, 2024 | 1.10% (0.01096) | 85.05th | v3 (v2023.03.01) |
| Dec 14, 2023 | 1.33% (0.01327) | 84.48th | v3 (v2023.03.01) |
| Jun 8, 2023 | 1.39% (0.01387) | 84.44th | v3 (v2023.03.01) |
| Apr 5, 2023 | 1.96% (0.01955) | 86.91th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.65% (0.01655) | 85.61th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.73th | v2 (v2022.01.01) |
References (15)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html vendor-advisoryx_refsource_FEDORA
- http://secunia.com/advisories/48970 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://www.openwall.com/lists/oss-security/2012/04/25/8 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2012/04/26/1 mailing-listx_refsource_MLIST
- https://access.redhat.com/security/cve/CVE-2012-2140 Vendor Advisory
- https://bugzilla.novell.com/show_bug.cgi?id=759092 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=816352 x_refsource_MISCIssue Tracking
- https://github.com/advisories/GHSA-rp63-jfmw-532w Advisory
- https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc x_refsource_CONFIRM
- https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0 x_refsource_CONFIRMExploitPatch
- https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2 x_refsource_CONFIRMExploitPatch
- https://nvd.nist.gov/vuln/detail/CVE-2012-2140
- https://www.cve.org/CVERecord?id=CVE-2012-2140
Change history (0)
No recorded changes yet.