Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-24737 EUVD-2022-0121GHSA-9w4w-cpc8-h2fqPYSEC-2022-34

Exposure of Sensitive Information to an Unauthorized Actor in httpie

Published Mar 7, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
httpie httpie < 3.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 httpie 3.2.1-1 —
Debian 13 httpie 3.2.1-1 —
Debian 12 httpie 3.2.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 httpie No fix yet —
Ubuntu 26.04 LTS httpie No fix yet —
Ubuntu 25.10 httpie No fix yet —
Ubuntu 24.04 LTS httpie No fix yet —
Ubuntu 22.04 LTS httpie No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS httpie No fix yet —
Ubuntu Pro 18.04 LTS httpie No fix yet —
Ubuntu Pro 16.04 LTS httpie No fix yet —
Ubuntu Pro 14.04 LTS httpie No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI httpie < 3.1.0 3.1.0 GHSA-9w4w-cpc8-h2fq

References