gentoo-overlay/metadata/glsa/glsa-200512-09.xml

74 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200512-09">
<title>cURL: Off-by-one errors in URL handling</title>
<synopsis>
cURL is vulnerable to local arbitrary code execution via buffer overflow
due to the insecure parsing of URLs.
</synopsis>
<product type="ebuild">cURL</product>
<announced>2005-12-16</announced>
<revised count="01">2005-12-16</revised>
<bug>114710</bug>
<access>local</access>
<affected>
<package name="net-misc/curl" auto="yes" arch="*">
<unaffected range="ge">7.15.1</unaffected>
<vulnerable range="lt">7.15.1</vulnerable>
</package>
</affected>
<background>
<p>
cURL is a command line tool for transferring files with URL
syntax, supporting numerous protocols.
</p>
</background>
<description>
<p>
Stefan Esser from the Hardened-PHP Project has reported a
vulnerability in cURL that allows for a local buffer overflow when cURL
attempts to parse specially crafted URLs. The URL can be specially
crafted in one of two ways: the URL could be malformed in a way that
prevents a terminating null byte from being added to either a hostname
or path buffer; or the URL could contain a "?" separator in the
hostname portion, which causes a "/" to be prepended to the resulting
string.
</p>
</description>
<impact type="low">
<p>
An attacker capable of getting cURL to parse a maliciously crafted
URL could cause a denial of service or execute arbitrary code with the
privileges of the user making the call to cURL. An attacker could also
escape open_basedir or safe_mode pseudo-restrictions when exploiting
this problem from within a PHP program when PHP is compiled with
libcurl.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All cURL users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=net-misc/curl-7.15.1"</code>
</resolution>
<references>
<uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4077">CVE-2005-4077</uri>
<uri link="https://www.hardened-php.net/advisory_242005.109.html">Hardened-PHP Advisory</uri>
</references>
<metadata tag="requester" timestamp="2005-12-14T13:39:33Z">
koon
</metadata>
<metadata tag="submitter" timestamp="2005-12-14T17:20:45Z">
shellsage
</metadata>
<metadata tag="bugReady" timestamp="2005-12-15T11:37:18Z">
koon
</metadata>
</glsa>