Skip to content
Heist/ feed
Back to feed
Medium

httpie — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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.

Products
httpie
Affected versions
0.3.1-1, 0.7.1-0.1, 0.8.0-1, 0.8.0-1+deb8u1build0.14.04.1~esm1, 0.9.2-0.1, 0.9.2-1, 0.9.8-2, 1.0.3-2, 2.4.0-1, 2.6.0-1, 3.2.1-1, 3.2.1-2, 3.2.2-1, 3.2.4-3, 3.2.4-4
Fixed versions
Not specified
CVEs
CVE-2022-24737
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:00 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-24737

core-osv · Original source

Published 7 Mar 2022, 23:15 UTC

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.

osv:UBUNTU-CVE-2022-24737

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

httpie

Fixed versions: Not specified

Complete source record
{
  "id": "a933cd7682485954a917e7b2e6fb022aa7f012a2ed63fb384dec22f345af40e5",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-24737",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-24737",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2022-24737",
    "products": [
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.3.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.7.1-0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.0-1+deb8u1build0.14.04.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.2-0.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.9.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.8-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.8-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.0.3-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.6.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.1-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.2.1-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.2.2-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.4-3",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.4-4",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "httpie",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.4-3",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "3.2.4-4",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2022-24737",
      "aliases": [
        "UBUNTU-CVE-2022-24737"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "0.3.1-1",
            "0.7.1-0.1",
            "0.8.0-1",
            "0.8.0-1+deb8u1build0.14.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "0.8.0-1+deb8u1build0.14.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.9.2-0.1",
            "0.9.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "0.9.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.9.8-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "0.9.8-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.9.8-2",
            "1.0.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "1.0.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.4.0-1",
            "2.6.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "2.6.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.2.1-1",
            "3.2.1-2",
            "3.2.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "3.2.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.2.4-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "3.2.4-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.2.4-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "3.2.4-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "httpie",
            "purl": "pkg:deb/ubuntu/httpie?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.2.4-3",
            "3.2.4-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24737.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "httpie",
                "binary_version": "3.2.4-4"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:21.317012848Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-24737"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-24737",
        "https://github.com/httpie/httpie/commit/65ab7d5caaaf2f95e61f9dd65441801c2ddee38b",
        "https://github.com/httpie/httpie/releases/tag/3.1.0",
        "https://github.com/httpie/httpie/security/advisories/GHSA-9w4w-cpc8-h2fq",
        "https://www.cve.org/CVERecord?id=CVE-2022-24737"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-24737",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355387,
  "published_at": "2022-03-07T23:15:00+00:00"
}