Vulnerability · Published Mar 7, 2022 · Assigned by GitHub_M
CVE-2022-24737Exposure of Sensitive Information to an Unauthorized Actor in httpie
Medium 6.5
In plain English
A medium-severity information exposure in httpie from httpie. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | httpie | 3.2.1-1 | DEBIAN-CVE-2022-24737 |
| Debian:13 | httpie | 3.2.1-1 | DEBIAN-CVE-2022-24737 |
| Debian:14 | httpie | 3.2.1-1 | DEBIAN-CVE-2022-24737 |
| PyPI | httpie | 3.1.0 | GHSA-9w4w-cpc8-h2fq |
| PyPI | httpie | 3.1.0 | PYSEC-2022-34 |
| Ubuntu:22.04:LTS | httpie | no fix listed | UBUNTU-CVE-2022-24737 |
| Ubuntu:24.04:LTS | httpie | no fix listed | UBUNTU-CVE-2022-24737 |
| Ubuntu:25.10 | httpie | no fix listed | UBUNTU-CVE-2022-24737 |
| Ubuntu:26.04:LTS | httpie | no fix listed | UBUNTU-CVE-2022-24737 |
| Ubuntu:26.10 | httpie | no fix listed | UBUNTU-CVE-2022-24737 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/httpie/httpie/security/advisories/GHSA-9w4w-cpc8-h2fq x_refsource_CONFIRM
- https://github.com/httpie/httpie/commit/65ab7d5caaaf2f95e61f9dd65441801c2ddee38b x_refsource_MISC
- https://github.com/httpie/httpie/releases/tag/3.1.0 x_refsource_MISC
- FEDORA-2022-fbf40ae0e4 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-cfcad08594 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-307d72ff7d vendor-advisory, x_refsource_FEDORA