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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.7%top 23.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12httpie3.2.1-1DEBIAN-CVE-2022-24737
Debian:13httpie3.2.1-1DEBIAN-CVE-2022-24737
Debian:14httpie3.2.1-1DEBIAN-CVE-2022-24737
PyPIhttpie3.1.0GHSA-9w4w-cpc8-h2fq
PyPIhttpie3.1.0PYSEC-2022-34
Ubuntu:22.04:LTShttpieno fix listedUBUNTU-CVE-2022-24737
Ubuntu:24.04:LTShttpieno fix listedUBUNTU-CVE-2022-24737
Ubuntu:25.10httpieno fix listedUBUNTU-CVE-2022-24737
Ubuntu:26.04:LTShttpieno fix listedUBUNTU-CVE-2022-24737
Ubuntu:26.10httpieno fix listedUBUNTU-CVE-2022-24737

Affected products (as reported)

VendorProductVersions
httpie httpie < 3.1.0

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

References