Vulnerabilities in pkg:pypi/SOAPpy

PACKAGE
Advisory Identifier: GHSA-2gh8-gr6x-7q26
Advisory Summary

CVE-2014-3243 is a MODERATE soappy vulnerable to xxe attacks vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting SOAPpy libraries in the PyPI ecosystem. The issue involves soappy vulnerable to xxe attacks. Remediation is available by upgrading affected packages to version 0.12.6.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/SOAPpy

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/SOAPpy. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2gh8-gr6x-7q26 CVE-2014-3243 MODERATE SOAPpy vulnerable to XXE attacks
GHSA-52wr-3vww-rmpq CVE-2014-3242 MODERATE SOAPpy vulnerable to XML External Entity attacks

CVE-2014-3243 at a Glance

CVE Identifier CVE-2014-3243
GHSA Identifier GHSA-2gh8-gr6x-7q26
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product SOAPpy
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2014-3243

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: 0.12.6
pip install SOAPpy>=0.12.6
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-3243, 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 0.12.6), 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. 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 does not properly detect recursion during entity expansion, which allows remote attackers to cause a denial of service (memory and CPU consumption) via a crafted SOAP request containing a large number of nested entity references.

CVE-2014-3243 Affected SOAPpy Versions

1 component(s)
Fixed Versions:
0.12.6
Product / Package Ecosystem Affected Versions Fixed Version
SOAPpy
PyPI
< 0.12.6
0.12.6

References

Frequently Asked Questions

What is CVE-2014-3243?
CVE-2014-3243 is a security vulnerability in SOAPpy involving SOAPpy vulnerable to XXE attacks under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which SOAPpy versions are affected?
Affected versions include releases prior to 0.12.6 across affected packages: SOAPpy.
What version fixes CVE-2014-3243?
Upgrading to 0.12.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is SOAPpy affected?
Yes, SOAPpy is affected in releases prior to 0.12.6. Upgrade your dependency to 0.12.6 or later.
What CWE is associated with CVE-2014-3243?
CVE-2014-3243 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check PyPI dependencies for CVE-2014-3243?
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-2gh8-gr6x-7q26",
  "modified" : "2024-04-22T22:42:26Z",
  "published" : "2022-05-17T04:44:24Z",
  "aliases" : [ "CVE-2014-3243" ],
  "summary" : "SOAPpy vulnerable to XXE attacks",
  "details" : "SOAPpy 0.12.5 does not properly detect recursion during entity expansion, which allows remote attackers to cause a denial of service (memory and CPU consumption) via a crafted SOAP request containing a large number of nested entity references.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "SOAPpy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.12.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.12.5"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3243"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kiorky/SOAPpy/commit/64125a24aad228761f38312d44bde4bec7354276"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kiorky/SOAPpy/commit/a38656817c8ce7d02e117b1308328419a5d1560f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kiorky/SOAPpy/blob/develop/CHANGES.txt#L32-L37"
  }, {
    "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-119" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-22T22:42:26Z",
    "nvd_published_at" : "2014-05-12T14:55:00Z"
  }
}