<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201206-34">
  <title>msmtp: X.509 NULL spoofing vulnerability</title>
  <synopsis>An error in the hostname matching in msmtp might enable remote
    attackers to conduct man-in-the-middle attacks.   
  </synopsis>
  <product type="ebuild">msmtp</product>
  <announced>2012-06-25</announced>
  <revised count="1">2012-06-25</revised>
  <bug>293647</bug>
  <access>remote</access>
  <affected>
    <package name="mail-mta/msmtp" auto="yes" arch="*">
      <unaffected range="ge">1.4.19</unaffected>
      <vulnerable range="lt">1.4.19</vulnerable>
    </package>
  </affected>
  <background>
    <p>msmtp is an SMTP client and SMTP plugin for mail user agents such as
      Mutt.
    </p>
  </background>
  <description>
    <p>A vulnerability have been discovered in msmtp. Please review the CVE
      identifier referenced below for details.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker might employ a specially crafted certificate to
      conduct man-in-the-middle attacks on SSL connections made using msmtp. 
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All msmtp users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=mail-mta/msmtp-1.4.19"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-3942">CVE-2009-3942</uri>
  </references>
  <metadata timestamp="2011-10-07T23:37:28Z" tag="requester">craig</metadata>
  <metadata timestamp="2012-06-25T18:51:50Z" tag="submitter">craig</metadata>
</glsa>