Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3558?format=api",
    "purl": "pkg:alpm/archlinux/python-pip@20.3.4-4",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "python-pip",
    "version": "20.3.4-4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "21.0-1",
    "latest_non_vulnerable_version": "21.0-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6887?format=api",
            "vulnerability_id": "VCID-mh4d-1b2e-bqem",
            "summary": "silent downgrade",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:3254",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:3254"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1962856",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1962856"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5xp3-jfq3-5q8x",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5xp3-jfq3-5q8x"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2021-437.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2021-437.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/pip",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/pip"
                },
                {
                    "reference_url": "https://github.com/pypa/pip/commit/e46bdda9711392fec0c45c1175bae6db847cb30b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/pip/commit/e46bdda9711392fec0c45c1175bae6db847cb30b"
                },
                {
                    "reference_url": "https://github.com/pypa/pip/pull/9827",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/pip/pull/9827"
                },
                {
                    "reference_url": "https://packetstormsecurity.com/files/162712/USN-4961-1.txt",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://packetstormsecurity.com/files/162712/USN-4961-1.txt"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20240621-0006",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20240621-0006"
                },
                {
                    "reference_url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                },
                {
                    "reference_url": "https://www.oracle.com/security-alerts/cpujul2022.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2036",
                    "reference_id": "AVG-2036",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2036"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3572",
                    "reference_id": "CVE-2021-3572",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3572"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3559?format=api",
                    "purl": "pkg:alpm/archlinux/python-pip@21.0-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-pip@21.0-1"
                }
            ],
            "aliases": [
                "CVE-2021-3572",
                "GHSA-5xp3-jfq3-5q8x",
                "PYSEC-2021-437"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mh4d-1b2e-bqem"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-pip@20.3.4-4"
}