Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67144?format=api",
    "purl": "pkg:composer/drupal/core@9.5.11",
    "type": "composer",
    "namespace": "drupal",
    "name": "core",
    "version": "9.5.11",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "10.0.8",
    "latest_non_vulnerable_version": "11.2.8",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46109?format=api",
            "vulnerability_id": "VCID-54qh-fz2a-cyh6",
            "summary": "Generation of Error Message Containing Sensitive Information\nIn certain scenarios, Drupal's JSON:API module will output error backtraces. With some configurations, this may cause sensitive information to be cached and made available to anonymous users, leading to privilege escalation.\n\nThis vulnerability only affects sites with the JSON:API module enabled, and can be mitigated by uninstalling JSON:API.\n\nThe core REST and contributed GraphQL modules are not affected.",
            "references": [
                {
                    "reference_url": "https://www.drupal.org/sa-core-2023-006",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/sa-core-2023-006"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5256",
                    "reference_id": "CVE-2023-5256",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5256"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rjqg-3h9m-fx5x",
                    "reference_id": "GHSA-rjqg-3h9m-fx5x",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-rjqg-3h9m-fx5x"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67144?format=api",
                    "purl": "pkg:composer/drupal/core@9.5.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.5.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67145?format=api",
                    "purl": "pkg:composer/drupal/core@10.0.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@10.0.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67146?format=api",
                    "purl": "pkg:composer/drupal/core@10.1.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@10.1.4"
                }
            ],
            "aliases": [
                "CVE-2023-5256",
                "GHSA-rjqg-3h9m-fx5x"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-54qh-fz2a-cyh6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.5.11"
}