<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200608-10">
  <title>pike: SQL injection vulnerability</title>
  <synopsis>
    A flaw in the input handling could lead to the execution of arbitrary SQL
    statements in the underlying PostgreSQL database.
  </synopsis>
  <product type="ebuild">pike</product>
  <announced>2006-08-06</announced>
  <revised count="02">2006-12-13</revised>
  <bug>136065</bug>
  <access>remote</access>
  <affected>
    <package name="dev-lang/pike" auto="yes" arch="*">
      <unaffected range="ge">7.6.86</unaffected>
      <vulnerable range="lt">7.6.86</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Pike is a general purpose programming language, able to be used for
    multiple tasks.
    </p>
  </background>
  <description>
    <p>
    Some input is not properly sanitised before being used in a SQL
    statement in the underlying PostgreSQL database.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could provide malicious input to a pike program,
    which might result in the execution of arbitrary SQL statements.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All pike users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-lang/pike-7.6.86"</code>
  </resolution>
  <references>
    <uri link="https://secunia.com/advisories/20494/">Secunia Advisory SA20494</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4041">CVE-2006-4041</uri>
  </references>
  <metadata tag="requester" timestamp="2006-08-05T16:54:41Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2006-08-05T16:55:04Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2006-08-05T17:42:54Z">
    falco
  </metadata>
</glsa>
