<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200703-22">
  <title>Mozilla Network Security Service: Remote execution of arbitrary code</title>
  <synopsis>
    The Mozilla Network Security Services libraries are vulnerable to two
    buffer overflows that could result in the remote execution of arbitrary
    code.
  </synopsis>
  <product type="ebuild">nss</product>
  <announced>2007-03-20</announced>
  <revised count="01">2007-03-20</revised>
  <bug>165555</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/nss" auto="yes" arch="*">
      <unaffected range="ge">3.11.5</unaffected>
      <vulnerable range="lt">3.11.5</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    The Mozilla Network Security Service is a library implementing security
    features like SSL v2/v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12,
    S/MIME and X.509 certificates.
    </p>
  </background>
  <description>
    <p>
    iDefense has reported two potential buffer overflow vulnerabilities
    found by researcher "regenrecht" in the code implementing the SSLv2
    protocol.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could send a specially crafted SSL master key to a
    server using NSS for the SSLv2 protocol, or entice a user to connect to
    a malicious server with a client-side application using NSS like one of
    the Mozilla products. This could trigger the vulnerabilities and result
    in the possible execution of arbitrary code with the rights of the
    vulnerable application.
    </p>
  </impact>
  <workaround>
    <p>
    Disable the SSLv2 protocol in the applications using NSS.
    </p>
  </workaround>
  <resolution>
    <p>
    All NSS users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-libs/nss-3.11.5"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0008">CVE-2007-0008</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0009">CVE-2007-0009</uri>
  </references>
  <metadata tag="submitter" timestamp="2007-03-13T23:41:07Z">
    falco
  </metadata>
  <metadata tag="bugReady" timestamp="2007-03-16T11:51:35Z">
    vorlon
  </metadata>
</glsa>
