CVE-2022-24737
Httpie vulnerability
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
Httpie, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Httpie runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/httpie/httpie/commit/65ab7d5caaaf2f95e61f9dd65441801c2ddee38b · Patch
- github.com/httpie/httpie/releases/tag/3.1.0 · Third Party Advisory
- github.com/httpie/httpie/security/advisories/GHSA-9w4w-cpc8-h2fq · Exploit
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T
- nvd.nist.gov/vuln/detail/CVE-2022-24737
- github.com/pypa/advisory-database/tree/main/vulns/httpie/PYSEC-2022-34.yaml
- nvd.nist.gov/vuln/detail/CVE-2022-24737
- cve.org/CVERecord?id=CVE-2022-24737
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.