Skip to content

← Public intelligence

PyPI package

zope

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

14 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.6PyPIAmendedPublished

    Access control vulnerable to user data deletion by anonynmous users

    CVE-2024-51734 · GHSA-g5vw-3h65-2q3v

    Affected
    • PyPI zope < 5.11.1
    Fixed in
    5.11.1· Vendor fix available
    Issue
    Impact Anonymous users can delete the user data maintained by an AccessControl.userfolder.UserFolder which may prevent any privileged access. Patches The problem is fixed in version 7.2. Workarounds The problem can be fixed by adding dataroles = () to AccessControl.userfolder.UserFolder. References https://github.com/zopefoundation/AccessControl/issues/159

    Recommended action: Upgrade to 5.11.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Low, CVSS 3.1PyPIAmendedPublished

    Zope management interface vulnerable to stored cross site scripting via the title property

    CVE-2023-44389 · GHSA-m755-gxxg-r5qh

    Affected
    • PyPI zope >= 5.0.0, < 5.8.6; >= 4.0.0, < 4.8.11
    Fixed in
    4.8.115.8.6· Vendor fix available
    Issue
    Impact The title property, available on most Zope objects, can be used to store script code that is executed while viewing the affected object in the Zope Management Interface (ZMI) because the title property is displayed unquoted in the breadcrumbs element. All versions of Zope 4 and Zope 5 are affected. Patches Patches will be released with Zope versions 4.8.11 and 5.8.6. Workarounds Make sure only Manager users can edit and view Zope objects in the Zope Management Interface. This is the default.

    Recommended action: Upgrade to 5.8.6 or 4.8.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Low, CVSS 3.7PyPIAmendedPublished

    Zope vulnerable to Stored Cross Site Scripting with SVG images

    CVE-2023-42458 · GHSA-wm8q-9975-xh5v

    Affected
    • PyPI zope <= 4.8.9; >= 5.8.0, <= 5.8.4
    Fixed in
    4.8.105.8.5· Vendor fix available
    Issue
    Impact There is a stored cross site scripting vulnerability for SVG images. Note that an image tag with an SVG image as source is never vulnerable, even when the SVG image contains malicious code. To exploit the vulnerability, an attacker would first need to upload an image, and then trick a user into following a specially crafted link. All versions of Zope are impacted on sites that allow untrusted users to upload images. Patches Patches will be released in Zope 4.8.10 and 5.8.5. Workarounds Make sure the "Add Documents, Images, and Files" permission is only assigned to trusted roles. By default only the Manager has this permission.

    Recommended action: Upgrade to 5.8.5 or 4.8.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 6.8PyPIAmendedPublished

    Information disclosure in AccessControl

    CVE-2023-41050 · GHSA-8xv7-89vj-q48c

    Affected
    • PyPI zope < 4.8.9; >= 5.0.0, < 5.8.4
    Fixed in
    4.8.95.8.4· Vendor fix available
    Issue
    Impact Python's "format" functionality allows someone controlling the format string to "read" objects accessible (recursively) via attribute access and subscription from accessible objects. Those attribute accesses and subscriptions use Python's full blown getattr and getitem, not the policy restricted AccessControl variants getattr and getitem. This can lead to critical information disclosure. AccessControl already provides a safe variant for str.format and denies access to string.Formatter. However, str.formatmap is still unsafe. Affected are all users who allow untrusted users to create AccessControl controlled Python code and execute it. Patches A fix will be introduced in the versions 4.4, 5.8 and 6.2. Workarounds There are no workarounds. References https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-xjw2-6jm9-rf67 describes the corresponding problem for RestrictedPython.

    Recommended action: Upgrade to 5.8.4 or 4.8.9 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 8.7PyPIAmendedPublished

    Zope Denial of Service (DoS) vulnerability in ZServer

    CVE-2010-3198 · GHSA-qh4q-fwf8-qqrw

    Affected
    • PyPI zope >= 2.10.0, < 2.10.12; >= 2.11.0, < 2.11.7
    Fixed in
    2.11.72.10.12· Vendor fix available
    Issue
    ZServer in Zope 2.10.x before 2.10.12 and 2.11.x before 2.11.7 allows remote attackers to cause a denial of service (crash of worker threads) via vectors that trigger uncaught exceptions.

    Recommended action: Upgrade to 2.11.7 or 2.10.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. UnratedPyPIAmendedPublished

    ZCatalog plug-in for Zope allows anonymous users to bypass access restrictions

    CVE-2002-0688 · GHSA-7944-h5rw-qmjx

    Affected
    • PyPI zope >= 2.4.0, <= 2.5.1
    Fixed in
    2.6.0· Vendor fix available
    Issue
    ZCatalog plug-in index support capability for Zope 2.4.0 through 2.5.1 allows anonymous users and untrusted code to bypass access restrictions and call arbitrary methods of catalog indexes.

    Recommended action: Upgrade to 2.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. UnratedPyPIAmendedPublished

    Zope Server vulnerable to DoS via header injection

    CVE-2002-0687 · GHSA-vwrc-g9q6-f675

    Affected
    • PyPI zope >= 2.0.0, < 2.4.4b2; >= 2.5.0, < 2.5.1b2
    Fixed in
    2.5.1b22.4.4b2· Vendor fix available
    Issue
    Zope is a Web application server for Linux. Zope versions 2.0 through 2.5.1 b1 are vulnerable to a denial of service attack, caused by a vulnerability that occurs when using the "through the Web code" capability. A remote attacker could inject malicious headers into a response to cause the vulnerable system to crash.

    Recommended action: Upgrade to 2.5.1b2 (pre-release) or 2.4.4b2 (pre-release) by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. UnratedPyPIAmendedPublished

    Zope does not properly verify the access for objects with proxy roles

    CVE-2002-0170 · GHSA-c3rp-4cjh-cp38

    Affected
    • PyPI zope >= 2.2.0, < 2.4.4; >= 2.5.0, < 2.5.1
    Fixed in
    2.5.12.4.4· Vendor fix available
    Issue
    Zope 2.2.0 through 2.5.1 does not properly verify the access for objects with proxy roles, which could allow some users to access documents in violation of the intended configuration.

    Recommended action: Upgrade to 2.5.1 or 2.4.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. UnratedPyPIAmendedPublished

    Zope does not properly restrict access to the getRoles method

    CVE-2000-0725 · GHSA-9cmq-pj6p-hgwf

    Affected
    • PyPI zope < 2.2.1
    Fixed in
    2.2.1· Vendor fix available
    Issue
    Zope before 2.2.1 does not properly restrict access to the getRoles method, which allows users who can edit DTML to add or modify roles by modifying the roles list that is included in a request.

    Recommended action: Upgrade to 2.2.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Medium, CVSS 6.1PyPIAmendedPublished

    Zope XSS Vulnerability

    CVE-2011-4924 · GHSA-vh6g-786f-hxxp

    Affected
    • PyPI zope >= 3.1.1, < 3.7.3
    Fixed in
    3.7.3· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in Zope 2.8.x before 2.8.12, 2.9.x before 2.9.12, 2.10.x before 2.10.11, 2.11.x before 2.11.6, and 2.12.x before 2.12.3, 3.1.1 through 3.4.1. allows remote attackers to inject arbitrary web script or HTML via vectors related to the way error messages perform sanitization. NOTE: this issue exists because of an incomplete fix for CVE-2010-1104

    Recommended action: Upgrade to 3.7.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. Medium, CVSS 5.9PyPIAmendedPublished

    Remote Code Execution via unsafe classes in otherwise permitted modules

    CVE-2021-32807 · GHSA-qcx9-j53g-ccgf

    Affected
    • PyPI zope >= 4.0, < 4.3; >= 5.0, < 5.2
    Fixed in
    5.24.3· Vendor fix available
    Issue
    Impact The module AccessControl defines security policies for Python code used in restricted code within Zope applications. Restricted code is any code that resides in Zope's object database, such as the contents of Script (Python) objects. The policies defined in AccessControl severely restrict access to Python modules and only exempt a few that are deemed safe, such as Python's string module. However, full access to the string module also allows access to the class Formatter, which can be overridden and extended within Script (Python) in a way that provides access to other unsafe Python libraries. Those unsafe Python libraries can be used for remote code execution. By default, you need to have the admin-level Zope "Manager" role to add or edit Script (Python) objects through the web. Only sites that allow untrusted users to add/edit these scripts through the web - which would be a very unusual configuration to begin with - are at risk. Patches The problem has been fixed in…

    Recommended action: Upgrade to 5.2 or 4.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. High, CVSS 7.7PyPIAmendedPublished

    Remote Code Execution via Script (Python) objects under Python 3

    CVE-2021-32811 · GHSA-g4gq-j4p2-j8fr

    Affected
    • PyPI zope >= 4.0, < 4.6.3; >= 5.0, < 5.3
    Fixed in
    4.6.35.3· Vendor fix available
    Issue
    Impact Background: The optional add-on package Products.PythonScripts adds Script (Python) to the list of content items a user can add to the Zope object database. Inside these scripts users can write Python code that is executed when rendered through the web. The code environment in these script objects is limited, it relies on the RestrictedPython package to provide a "safe" subset of Python instructions as well as the AccessControl package that defines security policies for execution in the context of a Zope application. Recently the AccessControl package was updated to fix a remote code execution security issue. A link to the security advisory is provided in the References section below. The bug tightens the AccessControl security policies for Zope by blocking access to unsafe classes inside the Python string module. You are only affected if the following are true: - You use Python 3 for your Zope deployment (Zope 4 on Python 2 is not affected) - You run Zope 4 below version…

    Recommended action: Upgrade to 5.3 or 4.6.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)osv.dev (2)github.com (3)Source checked Evidence →
  13. High, CVSS 7.6PyPIAmendedPublished

    Remote Code Execution via traversal in TAL expressions

    CVE-2021-32633 · GHSA-5pr9-v234-jw36

    Affected
    • PyPI zope < 4.6; >= 5.0, < 5.2
    Fixed in
    4.65.2· Vendor fix available
    Issue
    Impact Most Python modules are not available for using in TAL expressions that you can add through-the-web, for example in Zope Page Templates. This restriction avoids file system access, for example via the 'os' module. But some of the untrusted modules are available indirectly through Python modules that are available for direct use. By default, you need to have the Manager role to add or edit Zope Page Templates through the web. Only sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk. Patches The problem has been fixed in Zope 5.2 and 4.6. Workarounds A site administrator can restrict adding/editing Zope Page Templates through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing Zope Page Templates through the web should be restricted to trusted users only. For more information If you have any questions or comments about this…

    Recommended action: Upgrade to 5.2 or 4.6 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.devSource checked Evidence →
  14. High, CVSS 8.7PyPIAmendedPublished

    Remote Code Execution via traversal in TAL expressions

    CVE-2021-32674 · GHSA-rpcg-f9q6-2mq6

    Affected
    • PyPI zope >= 5.0, < 5.2.1; < 4.6.1
    Fixed in
    5.2.14.6.1· Vendor fix available
    Issue
    This advisory extends the previous advisory at https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36 with additional cases of TAL expression traversal vulnerabilities. Impact Most Python modules are not available for using in TAL expressions that you can add through-the-web, for example in Zope Page Templates. This restriction avoids file system access, for example via the 'os' module. But some of the untrusted modules are available indirectly through Python modules that are available for direct use. By default, you need to have the Manager role to add or edit Zope Page Templates through the web. Only sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk. Patches The problem has been fixed in Zope 5.21 and 4.6.1. Workarounds The workaround is the same as for https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36: A site administrator can restrict adding/editing Zope Page Templates…

    Recommended action: Upgrade to 5.2.1 or 4.6.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.devSource checked Evidence →