Bug 537932 (CVE-2009-3942)

Summary: CVE-2009-3942 msmtp SSL NULL prefix flaw
Product: [Other] Security Response Reporter: Josh Bressers <bressers>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: accounts
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-3942
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-28 17:24:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 537933, 537934, 537935, 537936    
Bug Blocks:    

Description Josh Bressers 2009-11-16 20:37:49 UTC
Martin Lambers msmtp before 1.4.19, when OpenSSL is used, does not
properly handle a '\0' character in a domain name in the (1) subject's
Common Name or (2) Subject Alternative Name field of an X.509
certificate, which allows man-in-the-middle attackers to spoof
arbitrary SSL servers via a crafted certificate issued by a legitimate
Certification Authority, a related issue to CVE-2009-2408.

Reference: CONFIRM:http://msmtp.sourceforge.net/news.html
Reference: URL:http://secunia.com/advisories/37321
Reference: URL:http://www.vupen.com/english/advisories/2009/3224

Comment 1 Josh Bressers 2009-11-16 20:38:41 UTC
Created msmtp tracking bugs for this issue

CVE-2009-3942 Affects: F10 [bug #537933]
CVE-2009-3942 Affects: F11 [bug #537934]
CVE-2009-3942 Affects: F12 [bug #537935]
CVE-2009-3942 Affects: Fdevel [bug #537936]

Comment 2 Tomas Hoger 2009-11-22 18:26:02 UTC
(In reply to comment #0)
> Martin Lambers msmtp before 1.4.19, when OpenSSL is used

Fedora packages use GnuTLS, so this should be notabug.  See my comment in the similar mpop bug:
  https://bugzilla.redhat.com/show_bug.cgi?id=537927#c4