Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/33615?format=api",
    "purl": "pkg:pypi/planet@1.0.1",
    "type": "pypi",
    "namespace": "",
    "name": "planet",
    "version": "1.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.0.1",
    "latest_non_vulnerable_version": "2.0.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36444?format=api",
            "vulnerability_id": "VCID-h1uw-17ka-bybz",
            "summary": "Planet is software that provides satellite data. The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but before version 2.0.1, its permissions allowed the user's group and non-group to read the file as well. This issue was patched in version 2.0.1. As a workaround, set the secret file permissions to only user read/write by hand.",
            "references": [
                {
                    "reference_url": "https://github.com/planetlabs/planet-client-python",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/planetlabs/planet-client-python"
                },
                {
                    "reference_url": "https://github.com/planetlabs/planet-client-python/commit/d71415a83119c5e89d7b80d5f940d162376ee3b7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/planetlabs/planet-client-python/commit/d71415a83119c5e89d7b80d5f940d162376ee3b7"
                },
                {
                    "reference_url": "https://github.com/planetlabs/planet-client-python/releases/tag/2.0.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/planetlabs/planet-client-python/releases/tag/2.0.1"
                },
                {
                    "reference_url": "https://github.com/planetlabs/planet-client-python/security/advisories/GHSA-j5fj-rfh6-qj85",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/planetlabs/planet-client-python/security/advisories/GHSA-j5fj-rfh6-qj85"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/planet/PYSEC-2023-71.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/planet/PYSEC-2023-71.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32303",
                    "reference_id": "CVE-2023-32303",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32303"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j5fj-rfh6-qj85",
                    "reference_id": "GHSA-j5fj-rfh6-qj85",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-j5fj-rfh6-qj85"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/33649?format=api",
                    "purl": "pkg:pypi/planet@2.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/planet@2.0.1"
                }
            ],
            "aliases": [
                "CVE-2023-32303",
                "GHSA-j5fj-rfh6-qj85",
                "PYSEC-2023-71"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h1uw-17ka-bybz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/planet@1.0.1"
}