CVE-2010-3495: Zodb3 Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-j6m4-frxh-p4x8
CWE-362
Published
Advisory Summary

CVE-2010-3495 is a MODERATE denial of service vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Zodb3 libraries in the PyPI ecosystem. The issue involves zope object database denial of service vulnerability. Remediation is available by upgrading affected packages to version 3.10.0a2.

CVE-2010-3495 at a Glance

CVE Identifier CVE-2010-3495
GHSA Identifier GHSA-j6m4-frxh-p4x8
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Zodb3
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2010-3495

To remediate this vulnerability, upgrade all affected Zodb3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

zodb3 fixed: 3.10.0a2
pip install zodb3>=3.10.0a2
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 zodb3

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2010-3495, inspect your installed packages using pip:

pip show zodb3

Analyze the terminal output to locate any version of Zodb3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.10.0a2), your application is affected.

Note: The pip show zodb3 command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Zodb3, 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

Race condition in `ZEO/StorageServer.py` in Zope Object Database (ZODB) before 3.10.0a2 allows remote attackers to cause a denial of service (daemon outage) by establishing and then immediately closing a TCP connection, leading to the accept function having an unexpected return value of None, an unexpected value of None for the address, or an ECONNABORTED, EAGAIN, or EWOULDBLOCK error, a related issue to CVE-2010-3492.

CVE-2010-3495 Affected Zodb3 Versions

1 component(s)
Fixed Versions:
3.10.0a2
Product / Package Ecosystem Affected Versions Fixed Version
zodb3
PyPI
< 3.10.0a2
3.10.0a2

References

Frequently Asked Questions

What is CVE-2010-3495?
CVE-2010-3495 is a security vulnerability in Zodb3 involving Zope Object Database Denial of Service vulnerability under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Zodb3 versions are affected?
Affected versions include releases prior to 3.10.0a2 across affected packages: zodb3.
What version fixes CVE-2010-3495?
Upgrading to 3.10.0a2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zodb3 affected?
Yes, zodb3 is affected in releases prior to 3.10.0a2. Upgrade your dependency to 3.10.0a2 or later.
What CWE is associated with CVE-2010-3495?
CVE-2010-3495 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.).
How can I check PyPI dependencies for CVE-2010-3495?
Run the dependency tree command: 'pip show zodb3'. 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-j6m4-frxh-p4x8",
  "modified" : "2024-11-19T19:02:36Z",
  "published" : "2022-05-17T05:44:11Z",
  "aliases" : [ "CVE-2010-3495" ],
  "summary" : "Zope Object Database Denial of Service vulnerability",
  "details" : "Race condition in `ZEO/StorageServer.py` in Zope Object Database (ZODB) before 3.10.0a2 allows remote attackers to cause a denial of service (daemon outage) by establishing and then immediately closing a TCP connection, leading to the accept function having an unexpected return value of None, an unexpected value of None for the address, or an ECONNABORTED, EAGAIN, or EWOULDBLOCK error, a related issue to CVE-2010-3492.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "zodb3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.10.0a2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-3495"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zopefoundation/ZODB/commit/cfe16277ef1b5bb094dc79da50b0df1ee1537590"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/zodb/+bug/135108"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zodb3/PYSEC-2010-27.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/ZODB3/3.10.0a2/#a2-2010-05-04"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20111225005929/http://secunia.com/advisories/41755"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.python.org/issue6706"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://pypi.python.org/pypi/ZODB3/3.10.0#id1"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/41755"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/09/09/6"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/09/11/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/09/22/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/09/24/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-362" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-01T16:29:16Z",
    "nvd_published_at" : "2010-10-19T20:00:00Z"
  }
}