Bug 756341 (CVE-2009-5028) - CVE-2009-5028 namazu: Stack-based buffer overflow by replacing blank "uri" field value
Summary: CVE-2009-5028 namazu: Stack-based buffer overflow by replacing blank "uri" fi...
Alias: CVE-2009-5028
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 756350
TreeView+ depends on / blocked
Reported: 2011-11-23 10:36 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-06-06 10:45:48 UTC

Attachments (Terms of Use)

Description Jan Lieskovsky 2011-11-23 10:36:40 UTC
A stack-based buffer overflow flaw was found in the way Namazu, a full-text search engine, performed URI replacement for certain found results of the query. If namazu was configured as a CGI script (WWW search engine), a remote attacker could provide a specially-crafted query (with blank value of the "uri" field), leading to namazu executable crash, or potentially, arbitrary code execution with the privileges of the user running namazu.

Further issue details from upstream security advisory [2]:
"To 2.0.19 or a version that is older than 2.0.19, there is a vulnerability of overrunning in the buffer. It recommends since Namazu 2.0.20 to be used."

[1] http://www.namazu.org/#news
[2] http://www.namazu.org/security.html.en

Relevant upstream patches:
[3] http://cvs.namazu.org/namazu/src/result.c?sortdir=down&r1=1.86&r2=1.87&sortby=log
[4] http://cvs.namazu.org/namazu/src/result.c?sortdir=down&r1=
[5] http://cvs.namazu.org/namazu/src/result.c?sortdir=down&r1=

Comment 1 Jan Lieskovsky 2011-11-23 10:49:58 UTC
This issue affects the version of the namazu package, as shipped with Fedora release of 14. Please schedule an update.

Comment 2 Jan Lieskovsky 2011-11-23 11:05:30 UTC
Created namazu tracking bugs for this issue

Affects: fedora-14 [bug 756350]

Comment 3 Jan Lieskovsky 2011-11-23 11:17:46 UTC
CVE request:
[6] http://www.openwall.com/lists/oss-security/2011/11/23/2

Comment 4 Jan Lieskovsky 2011-11-24 09:23:16 UTC
The CVE identifier of CVE-2009-5028 has been assigned to this issue:

Note You need to log in before you can comment on or make changes to this bug.