Lookup for vulnerable packages by Package URL.

GET /api/packages/22005?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/22005?format=api",
    "purl": "pkg:pypi/zope@4.1.3",
    "type": "pypi",
    "namespace": "",
    "name": "zope",
    "version": "4.1.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.8.11",
    "latest_non_vulnerable_version": "5.8.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35799?format=api",
            "vulnerability_id": "VCID-1f3t-a46p-13ca",
            "summary": "Zope is an open-source web application server. In Zope versions prior to 4.6 and 5.2, users can access untrusted modules indirectly through Python modules that are available for direct use. By default, only users with the Manager role can add or edit Zope Page Templates through the web, but sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk from this vulnerability. The problem has been fixed in Zope 5.2 and 4.6. As a workaround, 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.",
            "references": [
                {
                    "reference_url": "https://cyllective.com/blog/post/plone-authenticated-rce-cve-2021-32633",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cyllective.com/blog/post/plone-authenticated-rce-cve-2021-32633"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5vq5-pg3r-9ph3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5vq5-pg3r-9ph3"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-962m-m8jw-8wrr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-962m-m8jw-8wrr"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2021-104.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2021-104.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2021-88.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2021-88.yaml"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/commit/1d897910139e2c0b11984fc9b78c1da1365bec21",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope/commit/1d897910139e2c0b11984fc9b78c1da1365bec21"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/commit/1f8456bf1f908ea46012537d52bd7e752a532c91",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope/commit/1f8456bf1f908ea46012537d52bd7e752a532c91"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6"
                },
                {
                    "reference_url": "https://pypi.org/project/Zope",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/Zope"
                },
                {
                    "reference_url": "https://pypi.org/project/Zope/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/Zope/"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2021/05/21/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2021/05/21/1"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2021/05/22/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2021/05/22/1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32633",
                    "reference_id": "CVE-2021-32633",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32633"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32674",
                    "reference_id": "CVE-2021-32674",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32674"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5pr9-v234-jw36",
                    "reference_id": "GHSA-5pr9-v234-jw36",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5pr9-v234-jw36"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rpcg-f9q6-2mq6",
                    "reference_id": "GHSA-rpcg-f9q6-2mq6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-rpcg-f9q6-2mq6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22024?format=api",
                    "purl": "pkg:pypi/zope@4.6",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1f3t-a46p-13ca"
                        },
                        {
                            "vulnerability": "VCID-1psc-rasd-h7hr"
                        },
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@4.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22505?format=api",
                    "purl": "pkg:pypi/zope@4.6.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1psc-rasd-h7hr"
                        },
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@4.6.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22025?format=api",
                    "purl": "pkg:pypi/zope@5.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1f3t-a46p-13ca"
                        },
                        {
                            "vulnerability": "VCID-1psc-rasd-h7hr"
                        },
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@5.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22504?format=api",
                    "purl": "pkg:pypi/zope@5.2.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1psc-rasd-h7hr"
                        },
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@5.2.1"
                }
            ],
            "aliases": [
                "CVE-2021-32633",
                "CVE-2021-32674",
                "GHSA-5pr9-v234-jw36",
                "GHSA-5vq5-pg3r-9ph3",
                "GHSA-962m-m8jw-8wrr",
                "GHSA-rpcg-f9q6-2mq6",
                "PYSEC-2021-104",
                "PYSEC-2021-88"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1f3t-a46p-13ca"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35830?format=api",
            "vulnerability_id": "VCID-1psc-rasd-h7hr",
            "summary": "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. The problem has been fixed in AccessControl 4.3 and 5.2. Only AccessControl versions 4 and 5 are vulnerable, and only on Python 3, not Python 2.7. As a workaround, a site administrator can restrict adding/editing `Script (Python)` objects through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing these scripts through the web should be restricted to trusted users only. This is the default configuration in Zope.",
            "references": [
                {
                    "reference_url": "https://github.com/zopefoundation/AccessControl/blob/master/CHANGES.rst#51-2021-07-30",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/AccessControl/blob/master/CHANGES.rst#51-2021-07-30"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/AccessControl/commit/b42dd4badf803bb9fb71ac34cd9cb0c249262f2c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/AccessControl/commit/b42dd4badf803bb9fb71ac34cd9cb0c249262f2c"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/commit/f72a18dda8e9bf2aedb46168761668464a4be988",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope/commit/f72a18dda8e9bf2aedb46168761668464a4be988"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32807",
                    "reference_id": "CVE-2021-32807",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32807"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32811",
                    "reference_id": "CVE-2021-32811",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32811"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22008?format=api",
                    "purl": "pkg:pypi/zope@4.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1f3t-a46p-13ca"
                        },
                        {
                            "vulnerability": "VCID-1psc-rasd-h7hr"
                        },
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@4.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22895?format=api",
                    "purl": "pkg:pypi/zope@4.6.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@4.6.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22025?format=api",
                    "purl": "pkg:pypi/zope@5.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1f3t-a46p-13ca"
                        },
                        {
                            "vulnerability": "VCID-1psc-rasd-h7hr"
                        },
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@5.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22896?format=api",
                    "purl": "pkg:pypi/zope@5.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-f1nm-2rc7-eqee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@5.3"
                }
            ],
            "aliases": [
                "CVE-2021-32807",
                "CVE-2021-32811",
                "GHSA-g4gq-j4p2-j8fr",
                "GHSA-qcx9-j53g-ccgf",
                "PYSEC-2021-335",
                "PYSEC-2021-368",
                "PYSEC-2021-370",
                "PYSEC-2021-875"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1psc-rasd-h7hr"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36564?format=api",
            "vulnerability_id": "VCID-f1nm-2rc7-eqee",
            "summary": "Zope is an open-source web application server. 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). All versions of Zope 4 and Zope 5 are affected. Patches will be released with Zope versions 4.8.11 and 5.8.6",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2023-193.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2023-193.yaml"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zopefoundation/Zope"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/commit/21dfa78609ffd8b6bd8143805678ebbacae5141a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/zopefoundation/Zope/commit/21dfa78609ffd8b6bd8143805678ebbacae5141a"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/commit/aeaf2cdc80dff60815e3706af448f086ddc3b98d",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/zopefoundation/Zope/commit/aeaf2cdc80dff60815e3706af448f086ddc3b98d"
                },
                {
                    "reference_url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-m755-gxxg-r5qh",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-m755-gxxg-r5qh"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-44389",
                    "reference_id": "CVE-2023-44389",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-44389"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m755-gxxg-r5qh",
                    "reference_id": "GHSA-m755-gxxg-r5qh",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-m755-gxxg-r5qh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/36286?format=api",
                    "purl": "pkg:pypi/zope@4.8.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@4.8.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/36285?format=api",
                    "purl": "pkg:pypi/zope@5.8.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@5.8.6"
                }
            ],
            "aliases": [
                "CVE-2023-44389",
                "GHSA-m755-gxxg-r5qh",
                "PYSEC-2023-193"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f1nm-2rc7-eqee"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zope@4.1.3"
}