Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/10075?format=api",
    "purl": "pkg:pypi/fedmsg@0.11.0",
    "type": "pypi",
    "namespace": "",
    "name": "fedmsg",
    "version": "0.11.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.18.2",
    "latest_non_vulnerable_version": "0.18.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35068?format=api",
            "vulnerability_id": "VCID-ksp8-mkuh-byhp",
            "summary": "FedMsg 0.18.1 and older is vulnerable to a message validation flaw resulting in message validation not being enabled if configured to be on.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-p7xc-35m8-57pr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-p7xc-35m8-57pr"
                },
                {
                    "reference_url": "https://github.com/fedora-infra/fedmsg",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/fedora-infra/fedmsg"
                },
                {
                    "reference_url": "https://github.com/fedora-infra/fedmsg/blob/0.18.2/CHANGELOG.rst",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/fedora-infra/fedmsg/blob/0.18.2/CHANGELOG.rst"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/fedmsg/PYSEC-2017-13.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/fedmsg/PYSEC-2017-13.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000001",
                    "reference_id": "CVE-2017-1000001",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000001"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10098?format=api",
                    "purl": "pkg:pypi/fedmsg@0.18.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/fedmsg@0.18.2"
                }
            ],
            "aliases": [
                "CVE-2017-1000001",
                "GHSA-p7xc-35m8-57pr",
                "PYSEC-2017-13"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ksp8-mkuh-byhp"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/fedmsg@0.11.0"
}