PECL APC: Buffer Overflow
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200804-07 / pecl-apc |
| Release Date |
April 09, 2008 |
| Latest Revision |
April 09, 2008: 01 |
| Impact |
high |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-php5/pecl-apc |
<
3.0.16-r1 |
>=
3.0.16-r1 |
All supported architectures
|
Related bugreports:
#214576
Synopsis
A buffer overflow vulnerability in PECL APC might allow for the remote
execution of arbitrary code.
2.
Impact Information
Background
PECL Alternative PHP Cache (PECL APC) is a free, open, and robust
framework for caching and optimizing PHP intermediate code.
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All PECL APC users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php5/pecl-apc-3.0.16-r1"
|
4.
References
|