Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62937?format=api",
    "purl": "pkg:pypi/products.cmfplone@5.0.10",
    "type": "pypi",
    "namespace": "",
    "name": "products.cmfplone",
    "version": "5.0.10",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.0.7",
    "latest_non_vulnerable_version": "5.1.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35162?format=api",
            "vulnerability_id": "VCID-69ps-uetw-y3gf",
            "summary": "A member of the Plone 2.5-5.1rc1 site could set javascript in the home_page property of his profile, and have this executed when a visitor click the home page link on the author page.",
            "references": [
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/05a943ecbcdda56bacc93b55c9e2e908d8a7dfab",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/05a943ecbcdda56bacc93b55c9e2e908d8a7dfab"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/0e50e1e67ea3b6d3187f78cb1a1628081f654d3b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/0e50e1e67ea3b6d3187f78cb1a1628081f654d3b"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/236b62b756ff46a92783b3897e717dfb15eb07d8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/236b62b756ff46a92783b3897e717dfb15eb07d8"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/7db5b2c8fb684055987b8c4fdedc29289bd26373",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/7db5b2c8fb684055987b8c4fdedc29289bd26373"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/issues/2232",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/issues/2232"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2233",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2233"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2234",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2234"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2235",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2235"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2236",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2236"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2018-71.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2018-71.yaml"
                },
                {
                    "reference_url": "https://plone.org/security/hotfix/20171128/xss-using-the-home_page-member-property",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://plone.org/security/hotfix/20171128/xss-using-the-home_page-member-property"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000482",
                    "reference_id": "CVE-2017-1000482",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000482"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-859j-668v-mrr6",
                    "reference_id": "GHSA-859j-668v-mrr6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-859j-668v-mrr6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62936?format=api",
                    "purl": "pkg:pypi/products.cmfplone@4.3.17",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.cmfplone@4.3.17"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62937?format=api",
                    "purl": "pkg:pypi/products.cmfplone@5.0.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.cmfplone@5.0.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62938?format=api",
                    "purl": "pkg:pypi/products.cmfplone@5.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.cmfplone@5.1.0"
                }
            ],
            "aliases": [
                "CVE-2017-1000482",
                "GHSA-859j-668v-mrr6",
                "PYSEC-2018-71"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-69ps-uetw-y3gf"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35161?format=api",
            "vulnerability_id": "VCID-dg61-tw4u-dbcc",
            "summary": "When you visit a page where you need to login, Plone 2.5-5.1rc1 sends you to the login form with a 'came_from' parameter set to the previous url. After you login, you get redirected to the page you tried to view before. An attacker might try to abuse this by letting you click on a specially crafted link. You would login, and get redirected to the site of the attacker, letting you think that you are still on the original Plone site. Or some javascript of the attacker could be executed. Most of these types of attacks are already blocked by Plone, using the `isURLInPortal` check to make sure we only redirect to a page on the same Plone site. But a few more ways of tricking Plone into accepting a malicious link were discovered, and fixed with this hotfix.",
            "references": [
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/05a943ecbcdda56bacc93b55c9e2e908d8a7dfab",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/05a943ecbcdda56bacc93b55c9e2e908d8a7dfab"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/0e50e1e67ea3b6d3187f78cb1a1628081f654d3b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/0e50e1e67ea3b6d3187f78cb1a1628081f654d3b"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/236b62b756ff46a92783b3897e717dfb15eb07d8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/236b62b756ff46a92783b3897e717dfb15eb07d8"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/commit/7db5b2c8fb684055987b8c4fdedc29289bd26373",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/commit/7db5b2c8fb684055987b8c4fdedc29289bd26373"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/issues/2232",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/issues/2232"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2233",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2233"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2234",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2234"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2235",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2235"
                },
                {
                    "reference_url": "https://github.com/plone/Products.CMFPlone/pull/2236",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.CMFPlone/pull/2236"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2018-70.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2018-70.yaml"
                },
                {
                    "reference_url": "https://plone.org/security/hotfix/20171128/open-redirection-on-login-form",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://plone.org/security/hotfix/20171128/open-redirection-on-login-form"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000481",
                    "reference_id": "CVE-2017-1000481",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000481"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8g72-gq68-6gqh",
                    "reference_id": "GHSA-8g72-gq68-6gqh",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8g72-gq68-6gqh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62936?format=api",
                    "purl": "pkg:pypi/products.cmfplone@4.3.17",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.cmfplone@4.3.17"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62937?format=api",
                    "purl": "pkg:pypi/products.cmfplone@5.0.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.cmfplone@5.0.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62938?format=api",
                    "purl": "pkg:pypi/products.cmfplone@5.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.cmfplone@5.1.0"
                }
            ],
            "aliases": [
                "CVE-2017-1000481",
                "GHSA-8g72-gq68-6gqh",
                "PYSEC-2018-70"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dg61-tw4u-dbcc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.cmfplone@5.0.10"
}