Bug 1190212

Summary: fcgi: stack smashing while using a lot of connections
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: BuildAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED ERRATA QA Contact: Warren <wusui>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.2.2CC: dmick, gmeno, sgraf, tmuthami, wusui, yehuda
Target Milestone: pre-dev-freeze   
Target Release: 1.2.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-23 12:37:35 UTC Type: Bug
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:    
Bug Blocks: 1190294    

Description Ken Dreyer (Red Hat) 2015-02-06 16:36:08 UTC
Copying from the EPEL bug report ( https://bugzilla.redhat.com/show_bug.cgi?id=1189958 )

------------------------------------------------------------------------

A stack-smashing bug for fcgi was reported to Ubuntu and subsequently patched in both Ubuntu and Debian.

According to the bug report, if more than 1024 connections are received, a segfault can occur.

A patch is provided with the bug reports:

https://bugs.launchpad.net/ubuntu/+source/libfcgi/+bug/933417

and the report at debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681591

Comment 1 Ken Dreyer (Red Hat) 2015-02-06 17:12:45 UTC
Yehuda confirmed today that this bug can affect Ceph's RGW.

Comment 2 Ken Dreyer (Red Hat) 2015-02-10 05:29:39 UTC
Fixed in the following Brew builds:

fcgi-2.4.0-25.el7cp
fcgi-2.4.0-12.el6cp

Comment 4 John Poelstra 2015-02-19 18:56:02 UTC
need to add to errata

Comment 11 errata-xmlrpc 2015-03-23 12:37:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0713.html