CVE-2022-37189: Mei2volpiano Denial of Service Vulnerability
HIGHCVE-2022-37189 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Mei2volpiano libraries in the PyPI ecosystem. The issue involves mei2volpiano is vulnerable to xml external entity (xxe), leading to a denial of service (dos). Remediation is available in the latest vendor maintenance releases.
CVE-2022-37189 at a Glance
Security Impact
CVSS: 7.5
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:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2022-37189
To remediate this vulnerability, upgrade all affected Mei2volpiano 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 mei2volpiano>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show mei2volpiano
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-37189, inspect your installed packages using pip:
pip show mei2volpiano
Analyze the terminal output to locate any version of Mei2volpiano in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show mei2volpiano command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Mei2volpiano, 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-37189 Affected Mei2volpiano Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mei2volpiano
|
PyPI |
≤ 0.8.2
|
|
References
Frequently Asked Questions
What is CVE-2022-37189?
Which Mei2volpiano versions are affected?
What version fixes CVE-2022-37189?
Is mei2volpiano affected?
What is the CVSS score of CVE-2022-37189?
What CWE is associated with CVE-2022-37189?
How can I check PyPI dependencies for CVE-2022-37189?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6xm7-3cc5-47f9",
"modified" : "2022-09-16T17:19:30Z",
"published" : "2022-09-08T00:00:30Z",
"aliases" : [ "CVE-2022-37189" ],
"summary" : "MEI2Volpiano is vulnerable to XML External Entity (XXE), leading to a Denial of Service (DoS)",
"details" : "DDMAL MEI2Volpiano 0.8.2 is vulnerable to XML External Entity (XXE), leading to a Denial of Service. This occurs due to the usage of the unsafe 'xml.etree' library to parse untrusted XML input.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mei2volpiano"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.8.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-37189"
}, {
"type" : "WEB",
"url" : "https://docs.python.org/3/library/xml.html#xml-vulnerabilities"
}, {
"type" : "WEB",
"url" : "https://github.com/DDMAL/MEI2Volpiano"
}, {
"type" : "WEB",
"url" : "https://github.com/DDMAL/MEI2Volpiano/blob/987b70fff991235e682405f901388af0f414eaa8/mei2volpiano/mei2volpiano.py#L59"
}, {
"type" : "WEB",
"url" : "https://pyup.io/vulnerabilities/CVE-2022-37189/50928"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-16T17:19:30Z",
"nvd_published_at" : "2022-09-07T13:15:00Z"
}
}