Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/2337?format=api",
    "purl": "pkg:alpm/archlinux/python-django@3.2.4-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "python-django",
    "version": "3.2.4-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.2.5-1",
    "latest_non_vulnerable_version": "5.1.9-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5407?format=api",
            "vulnerability_id": "VCID-4pb2-tqru-uufs",
            "summary": "insufficient validation",
            "references": [
                {
                    "reference_url": "https://docs.djangoproject.com/en/3.2/releases/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/3.2/releases/security"
                },
                {
                    "reference_url": "https://docs.djangoproject.com/en/3.2/releases/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/3.2/releases/security/"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xpfp-f569-q3p2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xpfp-f569-q3p2"
                },
                {
                    "reference_url": "https://github.com/django/django",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/0bd57a879a0d54920bb9038a732645fb917040e9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/0bd57a879a0d54920bb9038a732645fb917040e9"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/a34a5f724c5d5adb2109374ba3989ebb7b11f81f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/a34a5f724c5d5adb2109374ba3989ebb7b11f81f"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/dae83a24519d6f284c74414e0b81d64d9b5a0db4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/dae83a24519d6f284c74414e0b81d64d9b5a0db4"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-109.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-109.yaml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!forum/django-announce",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!forum/django-announce"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20210805-0008",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20210805-0008"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2021/jul/01/security-releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2021/jul/01/security-releases"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2021/jul/01/security-releases/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2021/jul/01/security-releases/"
                },
                {
                    "reference_url": "https://www.openwall.com/lists/oss-security/2021/07/02/2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openwall.com/lists/oss-security/2021/07/02/2"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202107-11",
                    "reference_id": "ASA-202107-11",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202107-11"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2123",
                    "reference_id": "AVG-2123",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2123"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35042",
                    "reference_id": "CVE-2021-35042",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35042"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2338?format=api",
                    "purl": "pkg:alpm/archlinux/python-django@3.2.5-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-django@3.2.5-1"
                }
            ],
            "aliases": [
                "CVE-2021-35042",
                "GHSA-xpfp-f569-q3p2",
                "PYSEC-2021-109"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4pb2-tqru-uufs"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7347?format=api",
            "vulnerability_id": "VCID-9mpt-zxaw-kkeg",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://docs.djangoproject.com/en/3.2/releases/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/3.2/releases/security/"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-68w8-qjq3-2gfm",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-68w8-qjq3-2gfm"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!forum/django-announce",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!forum/django-announce"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2021/jun/02/security-releases/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2021/jun/02/security-releases/"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202106-41",
                    "reference_id": "ASA-202106-41",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202106-41"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2026",
                    "reference_id": "AVG-2026",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2026"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2337?format=api",
                    "purl": "pkg:alpm/archlinux/python-django@3.2.4-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4pb2-tqru-uufs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-django@3.2.4-1"
                }
            ],
            "aliases": [
                "CVE-2021-33203",
                "GHSA-68w8-qjq3-2gfm",
                "PYSEC-2021-98"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9mpt-zxaw-kkeg"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7346?format=api",
            "vulnerability_id": "VCID-z4x1-e7tp-rqhz",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://docs.djangoproject.com/en/3.2/releases/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/3.2/releases/security/"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-p99v-5w3c-jqq9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-p99v-5w3c-jqq9"
                },
                {
                    "reference_url": "https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2021/jun/02/security-releases/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2021/jun/02/security-releases/"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202106-41",
                    "reference_id": "ASA-202106-41",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202106-41"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2026",
                    "reference_id": "AVG-2026",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2026"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2337?format=api",
                    "purl": "pkg:alpm/archlinux/python-django@3.2.4-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4pb2-tqru-uufs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-django@3.2.4-1"
                }
            ],
            "aliases": [
                "CVE-2021-33571",
                "GHSA-p99v-5w3c-jqq9",
                "PYSEC-2021-99"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z4x1-e7tp-rqhz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-django@3.2.4-1"
}