CVE-2014-3242: SOAPpy SOAPpy Vulnerable To XML External Vulnerability
MODERATECVE-2014-3242 is a MODERATE soappy vulnerable to xml external vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting SOAPpy libraries in the PyPI ecosystem. The issue involves soappy vulnerable to xml external entity attacks. Remediation is available in the latest vendor maintenance releases.
CVE-2014-3242 at a Glance
How to Fix CVE-2014-3242
To remediate this vulnerability, upgrade all affected SOAPpy 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 SOAPpy>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show SOAPpy
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2014-3242, inspect your installed packages using pip:
pip show SOAPpy
Analyze the terminal output to locate any version of SOAPpy 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 SOAPpy 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 SOAPpy, 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-2014-3242 Affected SOAPpy Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
SOAPpy
|
PyPI |
≤ 0.12.5
|
|
References
Frequently Asked Questions
What is CVE-2014-3242?
Which SOAPpy versions are affected?
What version fixes CVE-2014-3242?
Is SOAPpy affected?
What CWE is associated with CVE-2014-3242?
How can I check PyPI dependencies for CVE-2014-3242?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-52wr-3vww-rmpq",
"modified" : "2023-08-16T23:29:45Z",
"published" : "2022-05-17T04:44:24Z",
"aliases" : [ "CVE-2014-3242" ],
"summary" : "SOAPpy vulnerable to XML External Entity attacks",
"details" : "SOAPpy 0.12.5 allows remote attackers to read arbitrary files via a SOAP request containing an external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "SOAPpy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.12.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3242"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kiorky/soappy"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20150501220613/http://www.pnigos.com/?p=260"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229062311/http://www.securityfocus.com/bid/67216"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2014/May/20"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/05/06/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/05/06/9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-16T23:29:45Z",
"nvd_published_at" : "2014-05-12T14:55:00Z"
}
}