Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 517199 - curl, libcurl crash when reusing connection after negotiate-auth
curl, libcurl crash when reusing connection after negotiate-auth
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: curl (Show other bugs)
5.3
All Linux
medium Severity medium
: rc
: ---
Assigned To: Kamil Dudka
BaseOS QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-12 18:50 EDT by Ian Ward Comfort
Modified: 2010-03-30 04:04 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-30 04:04:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0273 normal SHIPPED_LIVE Moderate: curl security, bug fix and enhancement update 2010-03-29 09:21:11 EDT

  None (edit)
Description Ian Ward Comfort 2009-08-12 18:50:26 EDT
libcurl (and therefore curl) < 7.18.1 segfaults when trying to reuse a connection after performing negotiate-auth.  This bug is reproducible by attempting to pull down any negotiate-auth-protected URL twice in a single command:

    curl --negotiate -u : https://example.com/ https://example.com/

No workaround is possible, since curl does not provide any options to prevent connection reuse.

RHEL 5.3 includes curl-7.15.5-2.1.el5_3.4, which is affected by this bug.  I'd like to request a backport of the upstream fix for this bug, first posted to the curl-library mailing list here:

    http://curl.haxx.se/mail/lib-2008-02/0308.html

And applied to curl CVS with these commits:

    http://cool.haxx.se/cvs.cgi/curl/lib/http_negotiate.c.diff?r1=1.24&r2=1.25
    http://cool.haxx.se/cvs.cgi/curl/lib/http.c.diff?r1=1.364&r2=1.365
Comment 11 errata-xmlrpc 2010-03-30 04:04:44 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0273.html

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