Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63295?format=api",
    "purl": "pkg:pypi/farm-haystack@1.15.0",
    "type": "pypi",
    "namespace": "",
    "name": "farm-haystack",
    "version": "1.15.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/17222?format=api",
            "vulnerability_id": "VCID-915w-6m46-z3e3",
            "summary": "Use of Hard-coded, Security-relevant Constants in GitHub repository deepset-ai/haystack prior to 0.1.30.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-1712",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6679",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-1712"
                },
                {
                    "reference_url": "https://github.com/deepset-ai/haystack/commit/5fc84904f198de661d5b933fde756aa922bf09f1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/deepset-ai/haystack/commit/5fc84904f198de661d5b933fde756aa922bf09f1"
                },
                {
                    "reference_url": "https://github.com/deepset-ai/haystack/pull/4535",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/deepset-ai/haystack/pull/4535"
                },
                {
                    "reference_url": "https://huntr.dev/bounties/9a6b1fb4-ec9b-4cfa-af1e-9ce304924829",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://huntr.dev/bounties/9a6b1fb4-ec9b-4cfa-af1e-9ce304924829"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-1712",
                    "reference_id": "CVE-2023-1712",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-1712"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-w7qg-j435-78qw",
                    "reference_id": "GHSA-w7qg-j435-78qw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-w7qg-j435-78qw"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-1712",
                "GHSA-w7qg-j435-78qw"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-915w-6m46-z3e3"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/farm-haystack@1.15.0"
}