Bug 703390 (CVE-2011-0419)
Summary: | CVE-2011-0419 apr: unconstrained recursion in apr_fnmatch | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Tomas Hoger <thoger> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | jorton, pcheung, security-response-team |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-24 15:17:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 703517, 703518, 703519, 703520, 703521, 703526, 795917 | ||
Bug Blocks: |
Description
Tomas Hoger
2011-05-10 08:44:02 UTC
The rewrite as a single patch is here: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/strings/apr_fnmatch.c?r1=731029&r2=1098902 (In reply to comment #0) > It was reported that httpd exposes this problem via at least mod_autoindex > module, which allows remote users to specify pattern via P=pattern request > query argument: > > http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#query Mitigation: mod_autoindex can be configured to ignore request query arguments provided by the client by adding IgnoreClient option to the IndexOptions directive: http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexoptions.ignoreclient Fixed upstream in APR 1.4.4 and public now via: http://www.mail-archive.com/dev@apr.apache.org/msg23961.html http://www.apache.org/dist/apr/Announcement1.x.html Note especially a security fix to APR 1.4.4, stack overflow was possible due to unconstrained, recursive invocation of apr_fnmatch, as apr_fnmatch processed '*' wildcards. * Security: CVE-2011-0419 (http://cve.mitre.org) Reimplement apr_fnmatch() from scratch using a non-recursive algorithm; now has improved compliance with the fnmatch() spec. [William Rowe] The APR Project thanks Maksymilian Arciemowicz of SecurityReason for his research and reporting of this issue. This issue has been addressed in following products: Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 4 Via RHSA-2011:0507 https://rhn.redhat.com/errata/RHSA-2011-0507.html This issue has been addressed in following products: JBoss Enterprise Web Server 1.0 Via RHSA-2011:0896 https://rhn.redhat.com/errata/RHSA-2011-0896.html This issue has been addressed in following products: JBEWS 1.0 for RHEL 5 JBEWS 1.0 for RHEL 4 JBEWS 1 for RHEL 6 Via RHSA-2011:0897 https://rhn.redhat.com/errata/RHSA-2011-0897.html |