Vulnerabilities · 2012 · Rubygems
CVE-2012-2140
Rubygems Mail Gem vulnerability
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
Mail Gem. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubygems Mail Gem runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/48970 · Vendor Advisory
- github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0 · Exploit
- github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2 · Exploit
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
- www.openwall.com/lists/oss-security/2012/04/25/8
- www.openwall.com/lists/oss-security/2012/04/26/1
- nvd.nist.gov/vuln/detail/CVE-2012-2140
- cve.org/CVERecord?id=CVE-2012-2140
More vulnerabilities in Rubygems products
CVE-2024-21654CVE-2023-40165CVE-2022-36073CVE-2022-29218CVE-2022-29176CVE-2019-8325CVE-2019-8324CVE-2019-8323All 35
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.