Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/4387?format=api",
    "purl": "pkg:deb/debian/drupal7@7.14-2%2Bdeb7u12",
    "type": "deb",
    "namespace": "debian",
    "name": "drupal7",
    "version": "7.14-2+deb7u12",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.52-2+deb9u11",
    "latest_non_vulnerable_version": "7.52-2+deb9u11",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4273?format=api",
            "vulnerability_id": "VCID-a4u4-ga84-wyf9",
            "summary": "arbitrary command execution",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7602",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7602"
                },
                {
                    "reference_url": "https://github.com/drupal/core",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/drupal/core"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html"
                },
                {
                    "reference_url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602"
                },
                {
                    "reference_url": "https://www.debian.org/security/2018/dsa-4180",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2018/dsa-4180"
                },
                {
                    "reference_url": "https://www.drupal.org/sa-core-2018-004",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/sa-core-2018-004"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44542",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44542"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44557",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44557"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201804-10",
                    "reference_id": "ASA-201804-10",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201804-10"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-679",
                    "reference_id": "AVG-679",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-679"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7602",
                    "reference_id": "CVE-2018-7602",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7602"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml",
                    "reference_id": "CVE-2018-7602.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml",
                    "reference_id": "CVE-2018-7602.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-297x-j9pm-xjgg",
                    "reference_id": "GHSA-297x-j9pm-xjgg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-297x-j9pm-xjgg"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4390?format=api",
                    "purl": "pkg:deb/debian/drupal7@7.32-1%2Bdeb8u12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-a4u4-ga84-wyf9"
                        },
                        {
                            "vulnerability": "VCID-pmmq-8s2m-h7dp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/drupal7@7.32-1%252Bdeb8u12"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5109?format=api",
                    "purl": "pkg:deb/debian/drupal7@7.52-2%2Bdeb9u11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/drupal7@7.52-2%252Bdeb9u11"
                }
            ],
            "aliases": [
                "CVE-2018-7602",
                "GHSA-297x-j9pm-xjgg"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a4u4-ga84-wyf9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4307?format=api",
            "vulnerability_id": "VCID-pmmq-8s2m-h7dp",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://badpackets.net/over-100000-drupal-websites-vulnerable-to-drupalgeddon-2-cve-2018-7600",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://badpackets.net/over-100000-drupal-websites-vulnerable-to-drupalgeddon-2-cve-2018-7600"
                },
                {
                    "reference_url": "https://blog.appsecco.com/remote-code-execution-with-drupal-core-sa-core-2018-002-95e6ecc0c714",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://blog.appsecco.com/remote-code-execution-with-drupal-core-sa-core-2018-002-95e6ecc0c714"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7600",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7600"
                },
                {
                    "reference_url": "https://github.com/drupal/core",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/drupal/core"
                },
                {
                    "reference_url": "https://greysec.net/showthread.php?tid=2912&pid=10561",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://greysec.net/showthread.php?tid=2912&pid=10561"
                },
                {
                    "reference_url": "https://groups.drupal.org/security/faq-2018-002",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.drupal.org/security/faq-2018-002"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2018/03/msg00028.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2018/03/msg00028.html"
                },
                {
                    "reference_url": "https://research.checkpoint.com/uncovering-drupalgeddon-2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://research.checkpoint.com/uncovering-drupalgeddon-2"
                },
                {
                    "reference_url": "https://twitter.com/arancaytar/status/979090719003627521",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://twitter.com/arancaytar/status/979090719003627521"
                },
                {
                    "reference_url": "https://twitter.com/RicterZ/status/979567469726613504",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://twitter.com/RicterZ/status/979567469726613504"
                },
                {
                    "reference_url": "https://twitter.com/RicterZ/status/984495201354854401",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://twitter.com/RicterZ/status/984495201354854401"
                },
                {
                    "reference_url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7600",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7600"
                },
                {
                    "reference_url": "https://www.debian.org/security/2018/dsa-4156",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2018/dsa-4156"
                },
                {
                    "reference_url": "https://www.drupal.org/sa-core-2018-002",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/sa-core-2018-002"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44448",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44448"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44449",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44449"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44482",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44482"
                },
                {
                    "reference_url": "https://www.synology.com/support/security/Synology_SA_18_17",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.synology.com/support/security/Synology_SA_18_17"
                },
                {
                    "reference_url": "https://www.tenable.com/blog/critical-drupal-core-vulnerability-what-you-need-to-know",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.tenable.com/blog/critical-drupal-core-vulnerability-what-you-need-to-know"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201804-1",
                    "reference_id": "ASA-201804-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201804-1"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-665",
                    "reference_id": "AVG-665",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-665"
                },
                {
                    "reference_url": "https://github.com/a2u/CVE-2018-7600",
                    "reference_id": "CVE-2018-7600",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/a2u/CVE-2018-7600"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7600",
                    "reference_id": "CVE-2018-7600",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7600"
                },
                {
                    "reference_url": "https://github.com/g0rx/CVE-2018-7600-Drupal-RCE",
                    "reference_id": "CVE-2018-7600-DRUPAL-RCE",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/g0rx/CVE-2018-7600-Drupal-RCE"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7600.yaml",
                    "reference_id": "CVE-2018-7600.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7600.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7600.yaml",
                    "reference_id": "CVE-2018-7600.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7600.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-7fh9-933g-885p",
                    "reference_id": "GHSA-7fh9-933g-885p",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-7fh9-933g-885p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4390?format=api",
                    "purl": "pkg:deb/debian/drupal7@7.32-1%2Bdeb8u12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-a4u4-ga84-wyf9"
                        },
                        {
                            "vulnerability": "VCID-pmmq-8s2m-h7dp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/drupal7@7.32-1%252Bdeb8u12"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5109?format=api",
                    "purl": "pkg:deb/debian/drupal7@7.52-2%2Bdeb9u11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/drupal7@7.52-2%252Bdeb9u11"
                }
            ],
            "aliases": [
                "CVE-2018-7600",
                "GHSA-7fh9-933g-885p"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pmmq-8s2m-h7dp"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/drupal7@7.14-2%252Bdeb7u12"
}