[ GLSA 200804-07 ] PECL APC: Buffer Overflow
From: Robert Buchholz <rbu@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200804-07 ] PECL APC: Buffer Overflow
Date: Wed, 9 Apr 2008 11:50:17 +0200
User-Agent: KMail/1.9.7
Cc: [email protected], [email protected],
[email protected]
MIME-Version: 1.0
Content-Type: multipart/signed;
boundary="nextPart7415521.2AKHGx3NlD";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200804091150.17473.rbu@gentoo.org.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
--nextPart7415521.2AKHGx3NlD
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200804-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: PECL APC: Buffer Overflow
Date: April 09, 2008
Bugs: #214576
ID: 200804-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A buffer overflow vulnerability in PECL APC might allow for the remote
execution of arbitrary code.
Background
==========
PECL Alternative PHP Cache (PECL APC) is a free, open, and robust
framework for caching and optimizing PHP intermediate code.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-php5/pecl-apc < 3.0.16-r1 >= 3.0.16-r1
Description
===========
Daniel Papasian discovered a stack-based buffer overflow in the
apc_search_paths() function in the file apc.c when processing long
filenames.
Impact
======
A remote attacker could exploit this vulnerability to execute arbitrary
code in PHP applications that pass user-controlled input to the
include() function.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All PECL APC users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php5/pecl-apc-3.0.16-r1"
References
==========
[ 1 ] CVE-2008-1488
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1488
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200804-07.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--nextPart7415521.2AKHGx3NlD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQBH/JFZyZx3L/ph1soRAon5AJ49kUE18E7r9UyZuAJWMsHDSI/XWQCg0yNt
YCxIZCSz3SMCcdRXMNzIknE=
=AaxA
-----END PGP SIGNATURE-----
--nextPart7415521.2AKHGx3NlD--