CVE-2009-2701: ZODB3 Zope Object Database (ZODB) Arbitrary Vulnerability

CRITICAL
Advisory Identifier: GHSA-m52m-2qpx-9j4j
CVSS 9.8
Published
Advisory Summary

CVE-2009-2701 is a CRITICAL (CVSS 9.8) zope object database (zodb) arbitrary vulnerability (General Security Weakness) affecting ZODB3 libraries in the PyPI ecosystem. The issue involves zope object database (zodb) arbitrary files reading and deletion. Remediation is available by upgrading affected packages to version 3.8.3, 3.9.0c2.

CVE-2009-2701 at a Glance

CVE Identifier CVE-2009-2701
GHSA Identifier GHSA-m52m-2qpx-9j4j
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification General Security Weakness
Affected Product ZODB3
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2009-2701

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.8.3
pip install ZODB3>=3.8.3
ZODB3 fixed: 3.9.0c2
pip install ZODB3>=3.9.0c2
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-2009-2701, 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.8.3), 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 General Security Weakness. 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

Unspecified vulnerability in the Zope Enterprise Objects (ZEO) storage-server functionality in Zope Object Database (ZODB) 3.8 before 3.8.3 and 3.9.x before 3.9.0c2, when certain ZEO database sharing and blob support are enabled, allows remote authenticated users to read or delete arbitrary files via unknown vectors.

CVE-2009-2701 Affected ZODB3 Versions

2 component(s)
Fixed Versions:
3.8.33.9.0c2
Product / Package Ecosystem Affected Versions Fixed Version
ZODB3
PyPI
≥ 3.8
< 3.8.3
3.8.3
ZODB3
PyPI
≥ 3.9a0
< 3.9.0c2
3.9.0c2

References

Frequently Asked Questions

What is CVE-2009-2701?
CVE-2009-2701 is a security vulnerability in ZODB3 involving Zope Object Database (ZODB) Arbitrary files reading and deletion under General Security Weakness.
Which ZODB3 versions are affected?
Affected versions include releases prior to 3.8.3, 3.9.0c2 across affected packages: ZODB3.
What version fixes CVE-2009-2701?
Upgrading to 3.8.3, 3.9.0c2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ZODB3 affected?
Yes, ZODB3 is affected in releases prior to 3.8.3, 3.9.0c2. Upgrade your dependency to 3.8.3, 3.9.0c2 or later.
What is the CVSS score of CVE-2009-2701?
CVE-2009-2701 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2009-2701?
CVE-2009-2701 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2009-2701?
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-m52m-2qpx-9j4j",
  "modified" : "2024-11-19T18:34:25Z",
  "published" : "2022-05-02T03:37:58Z",
  "aliases" : [ "CVE-2009-2701" ],
  "summary" : "Zope Object Database (ZODB) Arbitrary files reading and deletion",
  "details" : "Unspecified vulnerability in the Zope Enterprise Objects (ZEO) storage-server functionality in Zope Object Database (ZODB) 3.8 before 3.8.3 and 3.9.x before 3.9.0c2, when certain ZEO database sharing and blob support are enabled, allows remote authenticated users to read or delete arbitrary files via unknown vectors.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ZODB3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.8"
      }, {
        "fixed" : "3.8.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ZODB3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9a0"
      }, {
        "fixed" : "3.9.0c2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-2701"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zodb3/PYSEC-2009-10.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zopefoundation/ZODB3"
  }, {
    "type" : "WEB",
    "url" : "https://mail.zope.org/pipermail/zope-announce/2009-September/002221.html"
  }, {
    "type" : "WEB",
    "url" : "http://pypi.python.org/pypi/ZODB3/3.8.3"
  }, {
    "type" : "WEB",
    "url" : "http://pypi.python.org/pypi/ZODB3/3.9.0c2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-22T18:59:10Z",
    "nvd_published_at" : "2009-09-08T18:30:00Z"
  }
}