CVE-2020-7658: Meinheld Meinheld Vulnerable To HTTP Request Vulnerability
MODERATECVE-2020-7658 is a MODERATE (CVSS 6.1) meinheld vulnerable to http request vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Meinheld libraries in the PyPI ecosystem. The issue involves meinheld vulnerable to http request smuggling. Remediation is available by upgrading affected packages to version 1.0.2.
CVE-2020-7658 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2020-7658
To remediate this vulnerability, upgrade all affected Meinheld 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 meinheld>=1.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show meinheld
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-7658, inspect your installed packages using pip:
pip show meinheld
Analyze the terminal output to locate any version of Meinheld in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.2), your application is affected.
Note: The pip show meinheld command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Meinheld, 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-2020-7658 Affected Meinheld Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
meinheld
|
PyPI |
< 1.0.2
|
1.0.2
|
References
Frequently Asked Questions
What is CVE-2020-7658?
Which Meinheld versions are affected?
What version fixes CVE-2020-7658?
Is meinheld affected?
What is the CVSS score of CVE-2020-7658?
What CWE is associated with CVE-2020-7658?
How can I check PyPI dependencies for CVE-2020-7658?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-63h2-9cc8-fc7m",
"modified" : "2024-09-25T19:43:34Z",
"published" : "2022-05-24T17:18:38Z",
"aliases" : [ "CVE-2020-7658" ],
"summary" : "meinheld vulnerable to HTTP Request Smuggling",
"details" : "meinheld prior to 1.0.2 is vulnerable to HTTP Request Smuggling. HTTP pipelining issues and request smuggling attacks might be possible due to incorrect Content-Length and Transfer encoding header parsing.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "meinheld"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-7658"
}, {
"type" : "WEB",
"url" : "https://github.com/mopemope/meinheld/issues/111"
}, {
"type" : "WEB",
"url" : "https://github.com/mopemope/meinheld/commit/0cfa70b2cd3800f1e4beeaef5421b156d90f0e09"
}, {
"type" : "WEB",
"url" : "https://github.com/mopemope/meinheld/commit/3bc3e7ccd534277af955c0c92981d0aa033929a7"
}, {
"type" : "WEB",
"url" : "https://github.com/mopemope/meinheld/commit/4155876bfd3e8fc4adad4aaa59ec3f1cefa1d2d1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mopemope/meinheld"
}, {
"type" : "WEB",
"url" : "https://github.com/mopemope/meinheld/blob/master/CHANGES.rst"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/meinheld/PYSEC-2020-239.yaml"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-PYTHON-MEINHELD-569140"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-444" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-22T22:37:11Z",
"nvd_published_at" : "2020-05-22T16:15:00Z"
}
}