CVE-2011-0739
What it is
The deliver function in the sendmail delivery agent (lib/mail/network/delivery_methods/sendmail.rb) in Ruby Mail gem 2.2.14 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an e-mail address.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.7% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.7% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Mikel Lindsaar Mail ≤ 2.2.14
- Mikel Lindsaar Mail 1.0.0
- Mikel Lindsaar Mail 1.1.0
- Mikel Lindsaar Mail 1.2.1
- Mikel Lindsaar Mail 1.2.5
- Mikel Lindsaar Mail 1.2.6
- Mikel Lindsaar Mail 1.2.7
- Mikel Lindsaar Mail 1.2.8
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-0739.md and follow it. Check whether this project is affected by CVE-2011-0739. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1
- http://secunia.com/advisories/43077
- http://www.vupen.com/english/advisories/2011/0233
- https://github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch
- http://groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1
- http://secunia.com/advisories/43077
- http://www.vupen.com/english/advisories/2011/0233
- https://github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch
References
- http://groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1
- http://osvdb.org/70667
- http://secunia.com/advisories/43077
- http://www.securityfocus.com/bid/46021
- http://www.vupen.com/english/advisories/2011/0233
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65010
- https://github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch
- http://groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1
- http://osvdb.org/70667
- http://secunia.com/advisories/43077
- http://www.securityfocus.com/bid/46021
- http://www.vupen.com/english/advisories/2011/0233
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65010
- https://github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch