CVE-2022-0430: Httpie Exposure Of Sensitive Information Vulnerability
MODERATECVE-2022-0430 is a MODERATE (CVSS 2.4) exposure of sensitive information vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Httpie libraries in the PyPI ecosystem. The issue involves exposure of sensitive information in httpie. Remediation is available by upgrading affected packages to version 3.1.0.
CVE-2022-0430 at a Glance
Security Impact
CVSS: 2.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2022-0430
To remediate this vulnerability, upgrade all affected Httpie dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install httpie>=3.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show httpie
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-0430, inspect your installed packages using pip:
pip show httpie
Analyze the terminal output to locate any version of Httpie in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.0), your application is affected.
Note: The pip show httpie command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Httpie, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-0430 Affected Httpie Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
httpie
|
PyPI |
< 3.1.0
|
3.1.0
|
References
Frequently Asked Questions
What is CVE-2022-0430?
Which Httpie versions are affected?
What version fixes CVE-2022-0430?
Is httpie affected?
What is the CVSS score of CVE-2022-0430?
What CWE is associated with CVE-2022-0430?
How can I check PyPI dependencies for CVE-2022-0430?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6pc9-xqrg-wfqw",
"modified" : "2024-11-18T16:26:20Z",
"published" : "2022-03-16T00:00:47Z",
"aliases" : [ "CVE-2022-0430" ],
"summary" : "Exposure of Sensitive information in httpie",
"details" : "httpie is a modern, user-friendly command-line HTTP client for the API era. Prior to version 3.1.0, all cookies saved to session storage are supercookies. At this time, there is no known workaround. Users are recommended to update to version 3.1.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "httpie"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-0430"
}, {
"type" : "WEB",
"url" : "https://github.com/httpie/httpie/commit/65ab7d5caaaf2f95e61f9dd65441801c2ddee38b"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-6pc9-xqrg-wfqw"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/httpie/httpie"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/httpie/PYSEC-2022-167.yaml"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/dafb2e4f-c6b6-4768-8ef5-b396cd6a801f"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-03-19T00:00:15Z",
"nvd_published_at" : null
}
}