Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11993?format=api",
    "purl": "pkg:pypi/marshmallow@1.2.0",
    "type": "pypi",
    "namespace": "",
    "name": "marshmallow",
    "version": "1.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.15.1",
    "latest_non_vulnerable_version": "4.1.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35261?format=api",
            "vulnerability_id": "VCID-ynrr-ezct-nugv",
            "summary": "In the marshmallow library before 2.15.1 and 3.x before 3.0.0b9 for Python, the schema \"only\" option treats an empty list as implying no \"only\" option, which allows a request that was intended to expose no fields to instead expose all fields (if the schema is being filtered dynamically using the \"only\" option, and there is a user role that produces an empty value for \"only\").",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-9q2p-fj49-vpxj",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-9q2p-fj49-vpxj"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code/marshmallow/issues/772",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code/marshmallow/issues/772"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code/marshmallow/pull/777",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code/marshmallow/pull/777"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code/marshmallow/pull/782",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code/marshmallow/pull/782"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/marshmallow/PYSEC-2018-67.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/marshmallow/PYSEC-2018-67.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17175",
                    "reference_id": "CVE-2018-17175",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17175"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/12058?format=api",
                    "purl": "pkg:pypi/marshmallow@2.15.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/marshmallow@2.15.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/12059?format=api",
                    "purl": "pkg:pypi/marshmallow@3.0.0b9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/marshmallow@3.0.0b9"
                }
            ],
            "aliases": [
                "CVE-2018-17175",
                "GHSA-9q2p-fj49-vpxj",
                "PYSEC-2018-67"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ynrr-ezct-nugv"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/marshmallow@1.2.0"
}