CVE-2014-3242: SOAPpy SOAPpy Vulnerable To XML External Vulnerability

MODERATE
Advisory Identifier: GHSA-52wr-3vww-rmpq
CWE-611
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2014-3242
GHSA Identifier GHSA-52wr-3vww-rmpq
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product SOAPpy
Package Ecosystem PyPI
Published Date
Last Updated

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.

SOAPpy fixed: Latest secure release
pip install SOAPpy>=Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
CVE-2014-3242 is a security vulnerability in SOAPpy involving SOAPpy vulnerable to XML External Entity attacks under CWE-611: Improper Restriction of XML External Entity Reference.
Which SOAPpy versions are affected?
Affected versions include releases prior to current release patches across affected packages: SOAPpy.
What version fixes CVE-2014-3242?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is SOAPpy affected?
Yes, SOAPpy is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2014-3242?
CVE-2014-3242 is classified under CWE-611: Improper Restriction of XML External Entity Reference (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.).
How can I check PyPI dependencies for CVE-2014-3242?
Run the dependency tree command: 'pip show SOAPpy'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}