Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/4877?format=api",
    "purl": "pkg:deb/debian/strongswan@5.2.1-6",
    "type": "deb",
    "namespace": "debian",
    "name": "strongswan",
    "version": "5.2.1-6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.7.2-1+deb10u2",
    "latest_non_vulnerable_version": "5.7.2-1+deb10u2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6238?format=api",
            "vulnerability_id": "VCID-juee-x743-fyfx",
            "summary": "authentication bypass",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16151",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16151"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16152",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16152"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201809-4",
                    "reference_id": "ASA-201809-4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201809-4"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-769",
                    "reference_id": "AVG-769",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-769"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4880?format=api",
                    "purl": "pkg:deb/debian/strongswan@5.5.1-4%2Bdeb9u4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-juee-x743-fyfx"
                        },
                        {
                            "vulnerability": "VCID-s6rc-g937-bugv"
                        },
                        {
                            "vulnerability": "VCID-xrq2-sdhm-2yfe"
                        },
                        {
                            "vulnerability": "VCID-y1d4-u84j-r3aq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/strongswan@5.5.1-4%252Bdeb9u4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5259?format=api",
                    "purl": "pkg:deb/debian/strongswan@5.7.2-1%2Bdeb10u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/strongswan@5.7.2-1%252Bdeb10u2"
                }
            ],
            "aliases": [
                "CVE-2018-16152"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-juee-x743-fyfx"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7030?format=api",
            "vulnerability_id": "VCID-s6rc-g937-bugv",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41990",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41990"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41991",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41991"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2473",
                    "reference_id": "AVG-2473",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2473"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5259?format=api",
                    "purl": "pkg:deb/debian/strongswan@5.7.2-1%2Bdeb10u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/strongswan@5.7.2-1%252Bdeb10u2"
                }
            ],
            "aliases": [
                "CVE-2021-41990"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s6rc-g937-bugv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7029?format=api",
            "vulnerability_id": "VCID-xrq2-sdhm-2yfe",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41990",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41990"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41991",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41991"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2473",
                    "reference_id": "AVG-2473",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2473"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5259?format=api",
                    "purl": "pkg:deb/debian/strongswan@5.7.2-1%2Bdeb10u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/strongswan@5.7.2-1%252Bdeb10u2"
                }
            ],
            "aliases": [
                "CVE-2021-41991"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xrq2-sdhm-2yfe"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6239?format=api",
            "vulnerability_id": "VCID-y1d4-u84j-r3aq",
            "summary": "authentication bypass",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16151",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16151"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16152",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16152"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201809-4",
                    "reference_id": "ASA-201809-4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201809-4"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-769",
                    "reference_id": "AVG-769",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-769"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4880?format=api",
                    "purl": "pkg:deb/debian/strongswan@5.5.1-4%2Bdeb9u4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-juee-x743-fyfx"
                        },
                        {
                            "vulnerability": "VCID-s6rc-g937-bugv"
                        },
                        {
                            "vulnerability": "VCID-xrq2-sdhm-2yfe"
                        },
                        {
                            "vulnerability": "VCID-y1d4-u84j-r3aq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/strongswan@5.5.1-4%252Bdeb9u4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5259?format=api",
                    "purl": "pkg:deb/debian/strongswan@5.7.2-1%2Bdeb10u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/strongswan@5.7.2-1%252Bdeb10u2"
                }
            ],
            "aliases": [
                "CVE-2018-16151"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y1d4-u84j-r3aq"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/strongswan@5.2.1-6"
}