GLSA 200804-07: PECL APC: Buffer Overflow
Severity: | high |
Title: | PECL APC: Buffer Overflow |
Date: | 04/09/2008 |
Bugs: |
|
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 | Architecture(s) |
---|---|---|---|
dev-php5/pecl-apc | < 3.0.16-r1 | >= 3.0.16-r1 | All supported architectures |
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
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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 security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 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.