Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73525?format=api",
    "purl": "pkg:npm/%40envelop/graphql-modules@9.1.0",
    "type": "npm",
    "namespace": "@envelop",
    "name": "graphql-modules",
    "version": "9.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49785?format=api",
            "vulnerability_id": "VCID-jw4u-hn7c-yyhg",
            "summary": "@envelop/graphql-modules has a Race Condition vulnerability\nContext race condition when using `useGraphQLModules` plugin",
            "references": [
                {
                    "reference_url": "https://github.com/graphql-hive/envelop",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/graphql-hive/envelop"
                },
                {
                    "reference_url": "https://github.com/graphql-hive/envelop/commit/ab49fa259a51d976c437e084114e070b99720ba9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/graphql-hive/envelop/commit/ab49fa259a51d976c437e084114e070b99720ba9"
                },
                {
                    "reference_url": "https://github.com/graphql-hive/envelop/releases/tag/release-1768928934700",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/graphql-hive/envelop/releases/tag/release-1768928934700"
                },
                {
                    "reference_url": "https://github.com/graphql-hive/graphql-modules/security/advisories/GHSA-53wg-r69p-v3r7",
                    "reference_id": "GHSA-53wg-r69p-v3r7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/graphql-hive/graphql-modules/security/advisories/GHSA-53wg-r69p-v3r7"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h3hw-29fv-2x75",
                    "reference_id": "GHSA-h3hw-29fv-2x75",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-h3hw-29fv-2x75"
                },
                {
                    "reference_url": "https://github.com/graphql-hive/envelop/security/advisories/GHSA-h3hw-29fv-2x75",
                    "reference_id": "GHSA-h3hw-29fv-2x75",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/graphql-hive/envelop/security/advisories/GHSA-h3hw-29fv-2x75"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73525?format=api",
                    "purl": "pkg:npm/%40envelop/graphql-modules@9.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540envelop/graphql-modules@9.1.0"
                }
            ],
            "aliases": [
                "GHSA-h3hw-29fv-2x75"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jw4u-hn7c-yyhg"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540envelop/graphql-modules@9.1.0"
}