CVE-2009-0668: ZODB3 Zope Object Database (ZODB) Vulnerable Vulnerability
CRITICALCVE-2009-0668 is a CRITICAL (CVSS 9.8) zope object database (zodb) vulnerable vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting ZODB3 libraries in the PyPI ecosystem. The issue involves zope object database (zodb) vulnerable to arbitrary python code execution in zeo storage servers. Remediation is available by upgrading affected packages to version 3.8.2.
CVE-2009-0668 at a Glance
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).
How to Fix CVE-2009-0668
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.
pip install ZODB3>=3.8.2
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-0668, 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.2), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. 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
CVE-2009-0668 Affected ZODB3 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ZODB3
|
PyPI |
< 3.8.2
|
3.8.2
|
References
Frequently Asked Questions
What is CVE-2009-0668?
Which ZODB3 versions are affected?
What version fixes CVE-2009-0668?
Is ZODB3 affected?
What is the CVSS score of CVE-2009-0668?
What CWE is associated with CVE-2009-0668?
How can I check PyPI dependencies for CVE-2009-0668?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4x83-5gw5-q346",
"modified" : "2024-11-19T18:32:44Z",
"published" : "2022-05-02T03:17:24Z",
"aliases" : [ "CVE-2009-0668" ],
"summary" : "Zope Object Database (ZODB) vulnerable to arbitrary Python code execution in ZEO storage servers",
"details" : "Unspecified vulnerability in Zope Object Database (ZODB) before 3.8.2, when certain Zope Enterprise Objects (ZEO) database sharing is enabled, allows remote attackers to execute arbitrary Python code via vectors involving the ZEO network protocol.",
"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" : "0"
}, {
"fixed" : "3.8.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-0668"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/52377"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zodb3/PYSEC-2009-8.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zopefoundation/ZODB3"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20151023102330/http://secunia.com/advisories/36204"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20151023102336/http://secunia.com/advisories/36205"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229152709/http://www.securityfocus.com/bid/35987"
}, {
"type" : "WEB",
"url" : "http://mail.zope.org/pipermail/zope-announce/2009-August/002220.html"
}, {
"type" : "WEB",
"url" : "http://pypi.python.org/pypi/ZODB3/3.8.2#whats-new-in-zodb-3-8-2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-29T11:42:27Z",
"nvd_published_at" : "2009-08-07T19:30:00Z"
}
}