CVE-2019-10751: Httpie Open Redirect Vulnerability
HIGHCVE-2019-10751 is a HIGH (CVSS 8.8) open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Httpie libraries in the PyPI ecosystem. The issue involves open redirect in httpie. Remediation is available by upgrading affected packages to version 1.0.3.
CVE-2019-10751 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-10751
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>=1.0.3
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-2019-10751, 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 1.0.3), 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. 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-2019-10751 Affected Httpie Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
httpie
|
PyPI |
< 1.0.3
|
1.0.3
|
References
Frequently Asked Questions
What is CVE-2019-10751?
Which Httpie versions are affected?
What version fixes CVE-2019-10751?
Is httpie affected?
What is the CVSS score of CVE-2019-10751?
What CWE is associated with CVE-2019-10751?
How can I check PyPI dependencies for CVE-2019-10751?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xjjg-vmw6-c2p9",
"modified" : "2024-09-20T21:26:30Z",
"published" : "2019-08-27T17:44:33Z",
"aliases" : [ "CVE-2019-10751" ],
"summary" : "Open Redirect in httpie",
"details" : "All versions of the HTTPie package prior to version 1.0.3 are vulnerable to Open Redirect that allows an attacker to write an arbitrary file with supplied filename and content to the current directory, by redirecting a request from HTTP to a crafted URL pointing to a server in his or hers control.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "httpie"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10751"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-xjjg-vmw6-c2p9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jakubroztocil/httpie"
}, {
"type" : "WEB",
"url" : "https://github.com/jakubroztocil/httpie/releases/tag/1.0.3"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/httpie/PYSEC-2019-23.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2019/09/msg00031.html"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-PYTHON-HTTPIE-460107"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00003.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00022.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-08-27T17:27:00Z",
"nvd_published_at" : "2019-08-23T17:15:00Z"
}
}