Bug 2063872 (CVE-2022-24737)

Summary: CVE-2022-24737 httpie: cookie exposure to third parties
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mhroncok, mikel, python-sig, rbean
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpie 3.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-14 22:01:24 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: 2063874, 2063873    
Bug Blocks:    

Description Marian Rehak 2022-03-14 14:46:18 UTC
HTTPie has the practical concept of sessions, which help users to persistently store some of the state that belongs to the outgoing requests and incoming responses on the disk for further usage. HTTPie didn‘t distinguish between cookies and hosts they belonged. This behavior resulted in the exposure of some cookies when there are redirects originating from the actual host to a third party website. Users are advised to upgrade. There are no known workarounds.

References:

https://github.com/httpie/httpie/commit/65ab7d5caaaf2f95e61f9dd65441801c2ddee38b
https://github.com/httpie/httpie/releases/tag/3.1.0
https://github.com/httpie/httpie/security/advisories/GHSA-9w4w-cpc8-h2fq

Comment 1 Marian Rehak 2022-03-14 14:46:36 UTC
Created httpie tracking bugs for this issue:

Affects: epel-all [bug 2063874]
Affects: fedora-all [bug 2063873]

Comment 2 Product Security DevOps Team 2022-03-14 22:01:23 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.