SB2011020202 - Input validation error in JavaMail API (compat)
Published: February 2, 2011 Updated: August 11, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Input validation error (CVE-ID: CVE-2011-0739)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote non-authenticated attacker to read and manipulate data.
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.
Remediation
Install update from vendor's website.
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