# CVE-2022-24737: Exposure of Sensitive Information to an Unauthorized Actor in httpie

Source: https://junglewise.ai/threats/cve-2022-24737-exposure-of-sensitive-information-to-an-unauthorized-actor-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-07  
License: CC BY 4.0 with a link back

CVE-2022-24737 · Severity: low · CVSS 3.1 · Published 2022-03-07

HTTPie is a command-line HTTP client. 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. Before 3.1.0, 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.

Technologies: [httpie (PyPI)](https://junglewise.ai/threats/technologies/httpie). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-24737 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-24737 being exploited in the wild.

**How severe is CVE-2022-24737?** Low severity, with a CVSS score of 3.1, published 7 March 2022.

**Which products and versions are affected?** httpie (PyPI) ECOSYSTEM:introduced=0,fixed=3.1.0, GIT:introduced=0,fixed=65ab7d5caaaf2f95e61f9dd65441801c2ddee38b|ECOSYSTEM:introduced=0,fixed=3.1.0.

**Is there a fix for CVE-2022-24737?** Yes. httpie (PyPI): upgrade to 3.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-24737?** Check whether you run httpie (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- httpie (PyPI): upgrade to 3.1.0 or later

  ```sh
  pip install "httpie>=3.1.0"
  ```


## Affected products

- httpie (PyPI) ECOSYSTEM:introduced=0,fixed=3.1.0, GIT:introduced=0,fixed=65ab7d5caaaf2f95e61f9dd65441801c2ddee38b|ECOSYSTEM:introduced=0,fixed=3.1.0

## Identifiers

- CVE-2022-24737
- GHSA-9w4w-cpc8-h2fq
- PYSEC-2022-34

## Related threats

- [HTTPie allows attackers to eavesdrop on communications between the host and server via a man-in-the-middle attack](https://junglewise.ai/threats/cve-2023-48052-httpie-allows-attackers-to-eavesdrop-on-communications-between)
- [PYSEC-2022-167 - Exposure of Sensitive Information to an Unauthorized Actor in GitHub repository httpie/httpie prior to 3.1.0.](https://junglewise.ai/threats/cve-2022-0430-exposure-of-sensitive-information-in-httpie)
- [Open Redirect in httpie](https://junglewise.ai/threats/cve-2019-10751-open-redirect-in-httpie)
- [PYSEC-2019-93 - All versions of the HTTPie package prior to version 1.0.3 are vulnerable to Open Redirect that allows…](https://junglewise.ai/threats/pysec-2019-93-all-versions-of-the-httpie-package-prior-to-version-1-0-3-5f229ed7)
