Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2023-1712"
        },
        {
            "alias": "GHSA-w7qg-j435-78qw"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63295?format=api",
            "purl": "pkg:pypi/farm-haystack@1.15.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-915w-6m46-z3e3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/farm-haystack@1.15.0"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 547,
            "name": "Use of Hard-coded, Security-relevant Constants",
            "description": "The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-915w-6m46-z3e3"
}