Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57433?format=api",
    "purl": "pkg:pypi/django@2.1.6",
    "type": "pypi",
    "namespace": "",
    "name": "django",
    "version": "2.1.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.28",
    "latest_non_vulnerable_version": "6.0.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35322?format=api",
            "vulnerability_id": "VCID-t952-ghnf-jkby",
            "summary": "Django 1.11.x before 1.11.19, 2.0.x before 2.0.11, and 2.1.x before 2.1.6 allows Uncontrolled Memory Consumption via a malicious attacker-supplied value to the django.utils.numberformat.format() function.",
            "references": [
                {
                    "reference_url": "https://docs.djangoproject.com/en/dev/releases/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/dev/releases/security"
                },
                {
                    "reference_url": "https://docs.djangoproject.com/en/dev/releases/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/dev/releases/security/"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wh4h-v3f2-r2pp",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-wh4h-v3f2-r2pp"
                },
                {
                    "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/0bbb560183fabf0533289700845dafa94951f227",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/0bbb560183fabf0533289700845dafa94951f227"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/1f42f82566c9d2d73aff1c42790d6b1b243f7676",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/1f42f82566c9d2d73aff1c42790d6b1b243f7676"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/40cd19055773705301c3428ed5e08a036d2091f3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/40cd19055773705301c3428ed5e08a036d2091f3"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-18.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-18.yaml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/django-announce/WTwEAprR0IQ",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!topic/django-announce/WTwEAprR0IQ"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66WMXHGBXD7GSM3PEXVCMCAGLMQYHZCU",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66WMXHGBXD7GSM3PEXVCMCAGLMQYHZCU"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66WMXHGBXD7GSM3PEXVCMCAGLMQYHZCU/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66WMXHGBXD7GSM3PEXVCMCAGLMQYHZCU/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVXDOVCXLD74SHR2BENGCE2OOYYYWJHZ",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVXDOVCXLD74SHR2BENGCE2OOYYYWJHZ"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVXDOVCXLD74SHR2BENGCE2OOYYYWJHZ/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVXDOVCXLD74SHR2BENGCE2OOYYYWJHZ/"
                },
                {
                    "reference_url": "https://seclists.org/bugtraq/2019/Jul/10",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://seclists.org/bugtraq/2019/Jul/10"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3890-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3890-1"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3890-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3890-1/"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227084713/http://www.securityfocus.com/bid/106964",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200227084713/http://www.securityfocus.com/bid/106964"
                },
                {
                    "reference_url": "https://www.debian.org/security/2019/dsa-4476",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2019/dsa-4476"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2019/feb/11/security-releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2019/feb/11/security-releases"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2019/feb/11/security-releases/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2019/feb/11/security-releases/"
                },
                {
                    "reference_url": "https://www.openwall.com/lists/oss-security/2019/02/11/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openwall.com/lists/oss-security/2019/02/11/1"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/106964",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106964"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-6975",
                    "reference_id": "CVE-2019-6975",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-6975"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13001?format=api",
                    "purl": "pkg:pypi/django@1.11.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@1.11.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57432?format=api",
                    "purl": "pkg:pypi/django@2.0.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.0.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13002?format=api",
                    "purl": "pkg:pypi/django@2.0.12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9mpt-zxaw-kkeg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.0.12"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57433?format=api",
                    "purl": "pkg:pypi/django@2.1.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.1.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13003?format=api",
                    "purl": "pkg:pypi/django@2.1.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-3mfy-uj9u-d7de"
                        },
                        {
                            "vulnerability": "VCID-9mpt-zxaw-kkeg"
                        },
                        {
                            "vulnerability": "VCID-c3m7-fu62-2qd9"
                        },
                        {
                            "vulnerability": "VCID-g44a-m54u-97cr"
                        },
                        {
                            "vulnerability": "VCID-gfar-wbzc-3ubr"
                        },
                        {
                            "vulnerability": "VCID-kbab-v2gz-dfe6"
                        },
                        {
                            "vulnerability": "VCID-pgtx-cdua-kfb4"
                        },
                        {
                            "vulnerability": "VCID-yreb-z7nz-jkbs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.1.7"
                }
            ],
            "aliases": [
                "CVE-2019-6975",
                "GHSA-wh4h-v3f2-r2pp",
                "PYSEC-2019-18"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t952-ghnf-jkby"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.1.6"
}