Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53505?format=api",
    "purl": "pkg:composer/drupal/drupal@8.3.0",
    "type": "composer",
    "namespace": "drupal",
    "name": "drupal",
    "version": "8.3.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "8.3.1",
    "latest_non_vulnerable_version": "10.0.8",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38556?format=api",
            "vulnerability_id": "VCID-ks17-b29e-73au",
            "summary": "Access Bypass\nThis is a critical access bypass vulnerability in Drupal.",
            "references": [
                {
                    "reference_url": "https://groups.drupal.org/node/516645",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.drupal.org/node/516645"
                },
                {
                    "reference_url": "https://www.drupal.org/SA-CORE-2017-002",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/SA-CORE-2017-002"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/97941",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/97941"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-6919",
                    "reference_id": "CVE-2017-6919",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-6919"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53507?format=api",
                    "purl": "pkg:composer/drupal/drupal@8.3.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.3.1"
                }
            ],
            "aliases": [
                "CVE-2017-6919"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ks17-b29e-73au"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40623?format=api",
            "vulnerability_id": "VCID-2989-fmjz-nkby",
            "summary": "Missing Authorization\nWhen creating a view, you can optionally use Ajax to update the displayed data via filter parameters. The views subsystem/module did not restrict access to the Ajax endpoint to only views configured to use Ajax. This is mitigated if you have access restrictions on the view. It is best practice to always include some form of access restrictions on all views, even if you are using another module to display them.",
            "references": [
                {
                    "reference_url": "https://www.drupal.org/SA-CORE-2017-004",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/SA-CORE-2017-004"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53505?format=api",
                    "purl": "pkg:composer/drupal/drupal@8.3.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ks17-b29e-73au"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.3.0"
                }
            ],
            "aliases": [
                "CVE-2017-6923"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2989-fmjz-nkby"
        },
        {
            "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/53505?format=api",
                    "purl": "pkg:composer/drupal/drupal@8.3.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ks17-b29e-73au"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.3.0"
                }
            ],
            "aliases": [
                "CVE-2017-6925"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ah3h-t9qa-gudr"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40612?format=api",
            "vulnerability_id": "VCID-mm13-6dhq-nqfb",
            "summary": "Improper Privilege Management\nWhen using the REST API, users without the correct permission can post comments via REST that are approved even if the user does not have permission to post approved comments. This issue only affects sites that have the RESTful Web Services (rest) module enabled, the comment entity REST resource enabled, and where an attacker can access a user account on the site with permissions to post comments, or where anonymous users can post comments.",
            "references": [
                {
                    "reference_url": "https://www.drupal.org/SA-CORE-2017-004",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/SA-CORE-2017-004"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53505?format=api",
                    "purl": "pkg:composer/drupal/drupal@8.3.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ks17-b29e-73au"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.3.0"
                }
            ],
            "aliases": [
                "CVE-2017-6924"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mm13-6dhq-nqfb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.3.0"
}