CVE-2022-24737 Exposure of Sensitive Information to an Unauthorized Actor in httpie
HTTPie leaks session cookies to third-party sites during redirects, exposing sensitive user data to unauthorized actors.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-24737?
CVE-2022-24737 is a medium-severity vulnerability in Fedoraproject Fedora, published on 7 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-200
Which versions are affected by CVE-2022-24737?
3 open source packages ship an affected version, including httpie. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
httpie PyPI | All versions | 3.1.0 |
httpie PyPI | All versions | 3.1.0 |
httpie PyPI | All versions | 3.1.0 |
Products include Fedoraproject Fedora, Httpie Httpie.
How do I fix CVE-2022-24737?
Upgrade httpie to 3.1.0 or later.
Is CVE-2022-24737 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24737 exists.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2022-24737, GHSA-9w4w-cpc8-h2fq, MGASA-2023-0196, PYSEC-2022-34, UBUNTU-CVE-2022-24737.