Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/4403?format=api",
    "purl": "pkg:deb/debian/vim@1:6.3-071%2B1sarge3",
    "type": "deb",
    "namespace": "debian",
    "name": "vim",
    "version": "1:6.3-071+1sarge3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2:8.1.0875-5+deb10u2",
    "latest_non_vulnerable_version": "2:8.1.0875-5+deb10u2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6720?format=api",
            "vulnerability_id": "VCID-wqka-fvtt-nqan",
            "summary": "arbitrary command execution",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-1248.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-1248.json"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1248",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1248"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1398227",
                    "reference_id": "1398227",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1398227"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201611-29",
                    "reference_id": "ASA-201611-29",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201611-29"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-82",
                    "reference_id": "AVG-82",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-82"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-83",
                    "reference_id": "AVG-83",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-83"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:2972",
                    "reference_id": "RHSA-2016:2972",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:2972"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4411?format=api",
                    "purl": "pkg:deb/debian/vim@2:7.4.488-7%2Bdeb8u3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-wqka-fvtt-nqan"
                        },
                        {
                            "vulnerability": "VCID-x34z-7ym2-q3ec"
                        },
                        {
                            "vulnerability": "VCID-ydt1-ur1w-jbbr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vim@2:7.4.488-7%252Bdeb8u3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5045?format=api",
                    "purl": "pkg:deb/debian/vim@2:8.0.0197-4%2Bdeb9u3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-x34z-7ym2-q3ec"
                        },
                        {
                            "vulnerability": "VCID-ydt1-ur1w-jbbr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vim@2:8.0.0197-4%252Bdeb9u3"
                }
            ],
            "aliases": [
                "CVE-2016-1248"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wqka-fvtt-nqan"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6496?format=api",
            "vulnerability_id": "VCID-x34z-7ym2-q3ec",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-11109.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-11109.json"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11109",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11109"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1472869",
                    "reference_id": "1472869",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1472869"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867720",
                    "reference_id": "867720",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867720"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201707-19",
                    "reference_id": "ASA-201707-19",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201707-19"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201707-22",
                    "reference_id": "ASA-201707-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201707-22"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-347",
                    "reference_id": "AVG-347",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-347"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5699?format=api",
                    "purl": "pkg:deb/debian/vim@2:8.1.0875-5%2Bdeb10u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vim@2:8.1.0875-5%252Bdeb10u2"
                }
            ],
            "aliases": [
                "CVE-2017-11109"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x34z-7ym2-q3ec"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6084?format=api",
            "vulnerability_id": "VCID-ydt1-ur1w-jbbr",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12735.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12735.json"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12735",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12735"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1718308",
                    "reference_id": "1718308",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1718308"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930020",
                    "reference_id": "930020",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930020"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930024",
                    "reference_id": "930024",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930024"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201906-8",
                    "reference_id": "ASA-201906-8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201906-8"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201906-9",
                    "reference_id": "ASA-201906-9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201906-9"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-975",
                    "reference_id": "AVG-975",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-975"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-976",
                    "reference_id": "AVG-976",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-976"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-979",
                    "reference_id": "AVG-979",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-979"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1619",
                    "reference_id": "RHSA-2019:1619",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1619"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1774",
                    "reference_id": "RHSA-2019:1774",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1774"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1793",
                    "reference_id": "RHSA-2019:1793",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1793"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1947",
                    "reference_id": "RHSA-2019:1947",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1947"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5045?format=api",
                    "purl": "pkg:deb/debian/vim@2:8.0.0197-4%2Bdeb9u3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-x34z-7ym2-q3ec"
                        },
                        {
                            "vulnerability": "VCID-ydt1-ur1w-jbbr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vim@2:8.0.0197-4%252Bdeb9u3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5699?format=api",
                    "purl": "pkg:deb/debian/vim@2:8.1.0875-5%2Bdeb10u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vim@2:8.1.0875-5%252Bdeb10u2"
                }
            ],
            "aliases": [
                "CVE-2019-12735"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ydt1-ur1w-jbbr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/vim@1:6.3-071%252B1sarge3"
}