GitHub Advisoryadvisory · RubyGems
GHSA-cpjc-p7fc-j9xh Mail Improper Input Validation vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2011-0739
- Ecosystem
- RubyGems
- Packages
- Severity
- Moderate
- Weaknesses
- CWE-20
- Reviewed
- 2020-06-16
Affected packages
• RubyGems mail: < 2.2.15 → fixed in 2.2.15
Description
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.
Related
Alias · CVE (1)
- CVE-2011-0739 The deliver function in the sendmail delivery agent (lib/mail/network/delivery_methods/sendmail.rb) in Ruby Mail gem 2.2.14 and earlier… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-0739 advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65010 web
- https://github.com/mikel/mail package
- https://github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml web
- https://web.archive.org/web/20200228225346/http://www.securityfocus.com/bid/46021 web
- http://groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1 web