Skip to main content
Public proof of conceptFix available

CVE-2022-24737

A public proof of concept exists; no exploitation attested.

  • Published2022-03-07
  • Fixed in3.1.0
  • WeaknessCWE-200

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-03-0723:15CVE publishedNVD

Versions per branch

NVD · OSV
Httpie
BranchAffectedFixed in
3.1< 3.1.03.1.0
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
36.x= 36no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • httpie
    Affected
    • = < 3.1.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-03-26

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • httpieUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • httpieUbuntu:26.10all versions · no fixed version listed
  • httpieUbuntu:26.04:LTSall versions · no fixed version listed
  • httpieUbuntu:25.10all versions · no fixed version listed
  • httpieUbuntu:24.04:LTSall versions · no fixed version listed
  • httpieUbuntu:22.04:LTSall versions · no fixed version listed
  • httpieUbuntu:20.04:LTSall versions · no fixed version listed
  • httpieUbuntu:18.04:LTSall versions · no fixed version listed

6 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-24737 Red Hat Product Security

    httpie: cookie exposure to third parties

Full record on NVD

Fix

  1. Update Httpie to 3.1.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-04-22
  • CNACVSS 3.16.5known since 2026-10-23
  • NVDCVSS 3.16.5read 2026-10-23
  • NVDCVSS 2.04.3read 2026-10-23
  • CNAweakness (CWE)CWE-200known since 2026-10-23
  • FIRST EPSSEPSS score1.7 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2022-03-07

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Published
2022-03-07
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-9w4w-cpc8-h2fq

Frequently asked questions

What is CVE-2022-24737?

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.

Is CVE-2022-24737 actively exploited?

A proof-of-concept exploit exists for CVE-2022-24737, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-24737?

CVE-2022-24737 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Running httpie? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record