<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="201612-17"> <title>PECL HTTP: Remote execution of arbitrary code</title> <synopsis>A buffer overflow in PECL HTTP might allow remote attackers to execute arbitrary code. </synopsis> <product type="ebuild">pecl_http</product> <announced>2016-12-07</announced> <revised count="1">2016-12-07</revised> <bug>587466</bug> <access>remote</access> <affected> <package name="dev-php/pecl-http" auto="yes" arch="*"> <unaffected range="rge">2.5.6</unaffected> <vulnerable range="lt">2.5.6</vulnerable> </package> </affected> <background> <p>This HTTP extension aims to provide a convenient and powerful set of functionality for one of PHPs major applications. </p> </background> <description> <p>A buffer overflow can be triggered in the URL parsing functions of the PECL HTTP extension. This allows overflowing a buffer with data originating from an arbitrary HTTP request. </p> </description> <impact type="normal"> <p>A remote attacker, through a specially crafted URI, could possibly execute arbitrary code with the privileges of the process. </p> </impact> <workaround> <p>There is no known workaround at this time.</p> </workaround> <resolution> <p>All PECL HTTP users should upgrade to the latest version:</p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=dev-php/pecl-http-2.5.6" </code> </resolution> <references> <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-5873">CVE-2016-5873</uri> </references> <metadata tag="requester" timestamp="2016-11-25T03:43:01Z">b-man</metadata> <metadata tag="submitter" timestamp="2016-12-07T10:29:47Z">b-man</metadata> </glsa>