Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57329?format=api",
    "purl": "pkg:composer/drupal/core@8.3.7",
    "type": "composer",
    "namespace": "drupal",
    "name": "core",
    "version": "8.3.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.3.9",
    "latest_non_vulnerable_version": "11.2.8",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40610?format=api",
            "vulnerability_id": "VCID-ah3h-t9qa-gudr",
            "summary": "Entity Access Bypass\nIn versions of Drupal 8 core ; There is a vulnerability in the entity access system that could allow unwanted access to view, create, update, or delete entities. This only affects entities that do not use or do not have UUIDs, and entities that have different access restrictions on different revisions of the same entity.",
            "references": [
                {
                    "reference_url": "https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-08-16/drupal-core-multiple",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-08-16/drupal-core-multiple"
                },
                {
                    "reference_url": "https://www.drupal.org/SA-CORE-2017-004",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/SA-CORE-2017-004"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100368",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100368"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1039200",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1039200"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-6925",
                    "reference_id": "CVE-2017-6925",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-6925"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57329?format=api",
                    "purl": "pkg:composer/drupal/core@8.3.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.3.7"
                }
            ],
            "aliases": [
                "CVE-2017-6925"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ah3h-t9qa-gudr"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.3.7"
}