<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201203-13">
  <title>Openswan: Denial of service</title>
  <synopsis>Multiple vulnerabilities in Openswan may create a Denial of Service
    condition.
  </synopsis>
  <product type="ebuild">Openswan</product>
  <announced>2012-03-16</announced>
  <revised count="1">2012-03-16</revised>
  <bug>372961</bug>
  <bug>389097</bug>
  <access>local, remote</access>
  <affected>
    <package name="net-misc/openswan" auto="yes" arch="*">
      <unaffected range="ge">2.6.37</unaffected>
      <vulnerable range="lt">2.6.37</vulnerable>
    </package>
  </affected>
  <background>
    <p>Openswan is an implementation of IPsec for Linux.</p>
  </background>
  <description>
    <p>Two vulnerabilities have been found in Openswan:</p>
    
    <ul>
      <li>Improper permissions are used on /var/run/starter.pid and
        /var/lock/subsys/ipsec (CVE-2011-2147).
      </li>
      <li>Openswan contains a use-after-free error in the cryptographic helper
        handler (CVE-2011-4073).
      </li>
    </ul>
  </description>
  <impact type="normal">
    <p>A remote authenticated attacker or a local attacker may be able to cause
      a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Openswan users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=net-misc/openswan-2.6.37"
    </code>
    
    <p>NOTE: This is a legacy GLSA. Updates for all affected architectures are
      available since November 10, 2011. It is likely that your system is
      already no longer affected by this issue.
    </p>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2147">CVE-2011-2147</uri>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4073">CVE-2011-4073</uri>
  </references>
  <metadata timestamp="2012-03-06T21:14:35Z" tag="requester">ackle</metadata>
  <metadata timestamp="2012-03-16T10:56:03Z" tag="submitter">ackle</metadata>
</glsa>
