Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/39588?format=api",
    "purl": "pkg:pypi/django@3.2.24",
    "type": "pypi",
    "namespace": "",
    "name": "django",
    "version": "3.2.24",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.2.25",
    "latest_non_vulnerable_version": "6.0.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36753?format=api",
            "vulnerability_id": "VCID-fsaw-3ta1-x3dw",
            "summary": "In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.",
            "references": [
                {
                    "reference_url": "https://docs.djangoproject.com/en/5.0/releases/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/5.0/releases/security"
                },
                {
                    "reference_url": "https://docs.djangoproject.com/en/5.0/releases/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/5.0/releases/security/"
                },
                {
                    "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/072963e4c4d0b3a7a8c5412bc0c7d27d1a9c3521",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/072963e4c4d0b3a7a8c5412bc0c7d27d1a9c3521"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/3394fc6132436eca89e997083bae9985fb7e761e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/3394fc6132436eca89e997083bae9985fb7e761e"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/3c9a2771cc80821e041b16eb36c1c37af5349d4a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/3c9a2771cc80821e041b16eb36c1c37af5349d4a"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-47.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-47.yaml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#%21forum/django-announce",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#%21forum/django-announce"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2024/mar/04/security-releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2024/mar/04/security-releases"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2024/mar/04/security-releases/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2024/mar/04/security-releases/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27351",
                    "reference_id": "CVE-2024-27351",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27351"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vm8q-m57g-pff3",
                    "reference_id": "GHSA-vm8q-m57g-pff3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vm8q-m57g-pff3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40665?format=api",
                    "purl": "pkg:pypi/django@3.2.25",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@3.2.25"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40666?format=api",
                    "purl": "pkg:pypi/django@4.2.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2ft7-rbey-kuhx"
                        },
                        {
                            "vulnerability": "VCID-4kcg-gx5y-cuaw"
                        },
                        {
                            "vulnerability": "VCID-5xtt-au84-zbb2"
                        },
                        {
                            "vulnerability": "VCID-7c5n-nzwk-v7bz"
                        },
                        {
                            "vulnerability": "VCID-9gq3-whr8-s7b8"
                        },
                        {
                            "vulnerability": "VCID-9kvc-1bdz-n3bd"
                        },
                        {
                            "vulnerability": "VCID-bb8b-hq41-s7a6"
                        },
                        {
                            "vulnerability": "VCID-e12b-tw2c-53c9"
                        },
                        {
                            "vulnerability": "VCID-e8j6-mybr-17fh"
                        },
                        {
                            "vulnerability": "VCID-fcg9-xypn-ykhf"
                        },
                        {
                            "vulnerability": "VCID-ga69-9y5g-77c3"
                        },
                        {
                            "vulnerability": "VCID-ga7z-wj4j-63h1"
                        },
                        {
                            "vulnerability": "VCID-hsjn-xnpp-5yeh"
                        },
                        {
                            "vulnerability": "VCID-jgv9-vdbm-sycd"
                        },
                        {
                            "vulnerability": "VCID-jybd-p65h-xffy"
                        },
                        {
                            "vulnerability": "VCID-kxdd-yzp3-r7cb"
                        },
                        {
                            "vulnerability": "VCID-pa7y-gpwp-6qgj"
                        },
                        {
                            "vulnerability": "VCID-phkp-9abp-f3dq"
                        },
                        {
                            "vulnerability": "VCID-qy1a-x3ff-4bc8"
                        },
                        {
                            "vulnerability": "VCID-r1vx-vv7d-gqaj"
                        },
                        {
                            "vulnerability": "VCID-rqqc-ta7c-ykgx"
                        },
                        {
                            "vulnerability": "VCID-s1rj-1xbw-fbg5"
                        },
                        {
                            "vulnerability": "VCID-shch-yusm-1uck"
                        },
                        {
                            "vulnerability": "VCID-shjc-2j68-2yfy"
                        },
                        {
                            "vulnerability": "VCID-tktt-vg92-6kae"
                        },
                        {
                            "vulnerability": "VCID-tuqc-c251-h7ds"
                        },
                        {
                            "vulnerability": "VCID-ud73-4t2c-n3at"
                        },
                        {
                            "vulnerability": "VCID-vgq9-s6th-yufg"
                        },
                        {
                            "vulnerability": "VCID-wa3g-27sx-mbcw"
                        },
                        {
                            "vulnerability": "VCID-whgc-pt2s-77ar"
                        },
                        {
                            "vulnerability": "VCID-xcmd-18ck-gqae"
                        },
                        {
                            "vulnerability": "VCID-ynt9-h6ww-h7e9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@4.2.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40667?format=api",
                    "purl": "pkg:pypi/django@5.0.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2ft7-rbey-kuhx"
                        },
                        {
                            "vulnerability": "VCID-9gq3-whr8-s7b8"
                        },
                        {
                            "vulnerability": "VCID-e12b-tw2c-53c9"
                        },
                        {
                            "vulnerability": "VCID-e8j6-mybr-17fh"
                        },
                        {
                            "vulnerability": "VCID-hsjn-xnpp-5yeh"
                        },
                        {
                            "vulnerability": "VCID-jgv9-vdbm-sycd"
                        },
                        {
                            "vulnerability": "VCID-pa7y-gpwp-6qgj"
                        },
                        {
                            "vulnerability": "VCID-qw15-2kq7-wqed"
                        },
                        {
                            "vulnerability": "VCID-qy1a-x3ff-4bc8"
                        },
                        {
                            "vulnerability": "VCID-rqqc-ta7c-ykgx"
                        },
                        {
                            "vulnerability": "VCID-s1rj-1xbw-fbg5"
                        },
                        {
                            "vulnerability": "VCID-ud73-4t2c-n3at"
                        },
                        {
                            "vulnerability": "VCID-vgq9-s6th-yufg"
                        },
                        {
                            "vulnerability": "VCID-xcmd-18ck-gqae"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@5.0.3"
                }
            ],
            "aliases": [
                "CVE-2024-27351",
                "GHSA-vm8q-m57g-pff3",
                "PYSEC-2024-47"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fsaw-3ta1-x3dw"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36720?format=api",
            "vulnerability_id": "VCID-yuda-1mur-8bbq",
            "summary": "An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and Django 5.0 before 5.0.2. The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings.",
            "references": [
                {
                    "reference_url": "https://docs.djangoproject.com/en/5.0/releases/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/5.0/releases/security"
                },
                {
                    "reference_url": "https://docs.djangoproject.com/en/5.0/releases/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.djangoproject.com/en/5.0/releases/security/"
                },
                {
                    "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/16a8fe18a3b81250f4fa57e3f93f0599dc4895bc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/16a8fe18a3b81250f4fa57e3f93f0599dc4895bc"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/55519d6cf8998fe4c8f5c8abffc2b10a7c3d14e9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/55519d6cf8998fe4c8f5c8abffc2b10a7c3d14e9"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/572ea07e84b38ea8de0551f4b4eda685d91d09d2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/572ea07e84b38ea8de0551f4b4eda685d91d09d2"
                },
                {
                    "reference_url": "https://github.com/django/django/commit/c1171ffbd570db90ca206c30f8e2b9f691243820",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django/django/commit/c1171ffbd570db90ca206c30f8e2b9f691243820"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-28.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-28.yaml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#%21forum/django-announce",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#%21forum/django-announce"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2024/feb/06/security-releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2024/feb/06/security-releases"
                },
                {
                    "reference_url": "https://www.djangoproject.com/weblog/2024/feb/06/security-releases/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.djangoproject.com/weblog/2024/feb/06/security-releases/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-24680",
                    "reference_id": "CVE-2024-24680",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-24680"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xxj9-f6rv-m3x4",
                    "reference_id": "GHSA-xxj9-f6rv-m3x4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xxj9-f6rv-m3x4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/39588?format=api",
                    "purl": "pkg:pypi/django@3.2.24",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-fsaw-3ta1-x3dw"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@3.2.24"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/39589?format=api",
                    "purl": "pkg:pypi/django@4.2.10",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2ft7-rbey-kuhx"
                        },
                        {
                            "vulnerability": "VCID-4kcg-gx5y-cuaw"
                        },
                        {
                            "vulnerability": "VCID-5xtt-au84-zbb2"
                        },
                        {
                            "vulnerability": "VCID-7c5n-nzwk-v7bz"
                        },
                        {
                            "vulnerability": "VCID-9gq3-whr8-s7b8"
                        },
                        {
                            "vulnerability": "VCID-9kvc-1bdz-n3bd"
                        },
                        {
                            "vulnerability": "VCID-bb8b-hq41-s7a6"
                        },
                        {
                            "vulnerability": "VCID-e12b-tw2c-53c9"
                        },
                        {
                            "vulnerability": "VCID-e8j6-mybr-17fh"
                        },
                        {
                            "vulnerability": "VCID-fcg9-xypn-ykhf"
                        },
                        {
                            "vulnerability": "VCID-fsaw-3ta1-x3dw"
                        },
                        {
                            "vulnerability": "VCID-ga69-9y5g-77c3"
                        },
                        {
                            "vulnerability": "VCID-ga7z-wj4j-63h1"
                        },
                        {
                            "vulnerability": "VCID-hsjn-xnpp-5yeh"
                        },
                        {
                            "vulnerability": "VCID-jgv9-vdbm-sycd"
                        },
                        {
                            "vulnerability": "VCID-jybd-p65h-xffy"
                        },
                        {
                            "vulnerability": "VCID-kxdd-yzp3-r7cb"
                        },
                        {
                            "vulnerability": "VCID-pa7y-gpwp-6qgj"
                        },
                        {
                            "vulnerability": "VCID-phkp-9abp-f3dq"
                        },
                        {
                            "vulnerability": "VCID-qy1a-x3ff-4bc8"
                        },
                        {
                            "vulnerability": "VCID-r1vx-vv7d-gqaj"
                        },
                        {
                            "vulnerability": "VCID-rqqc-ta7c-ykgx"
                        },
                        {
                            "vulnerability": "VCID-s1rj-1xbw-fbg5"
                        },
                        {
                            "vulnerability": "VCID-shch-yusm-1uck"
                        },
                        {
                            "vulnerability": "VCID-shjc-2j68-2yfy"
                        },
                        {
                            "vulnerability": "VCID-tktt-vg92-6kae"
                        },
                        {
                            "vulnerability": "VCID-tuqc-c251-h7ds"
                        },
                        {
                            "vulnerability": "VCID-ud73-4t2c-n3at"
                        },
                        {
                            "vulnerability": "VCID-vgq9-s6th-yufg"
                        },
                        {
                            "vulnerability": "VCID-wa3g-27sx-mbcw"
                        },
                        {
                            "vulnerability": "VCID-whgc-pt2s-77ar"
                        },
                        {
                            "vulnerability": "VCID-xcmd-18ck-gqae"
                        },
                        {
                            "vulnerability": "VCID-ynt9-h6ww-h7e9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@4.2.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/39590?format=api",
                    "purl": "pkg:pypi/django@5.0.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2ft7-rbey-kuhx"
                        },
                        {
                            "vulnerability": "VCID-9gq3-whr8-s7b8"
                        },
                        {
                            "vulnerability": "VCID-e12b-tw2c-53c9"
                        },
                        {
                            "vulnerability": "VCID-e8j6-mybr-17fh"
                        },
                        {
                            "vulnerability": "VCID-fsaw-3ta1-x3dw"
                        },
                        {
                            "vulnerability": "VCID-hsjn-xnpp-5yeh"
                        },
                        {
                            "vulnerability": "VCID-jgv9-vdbm-sycd"
                        },
                        {
                            "vulnerability": "VCID-pa7y-gpwp-6qgj"
                        },
                        {
                            "vulnerability": "VCID-qw15-2kq7-wqed"
                        },
                        {
                            "vulnerability": "VCID-qy1a-x3ff-4bc8"
                        },
                        {
                            "vulnerability": "VCID-rqqc-ta7c-ykgx"
                        },
                        {
                            "vulnerability": "VCID-s1rj-1xbw-fbg5"
                        },
                        {
                            "vulnerability": "VCID-ud73-4t2c-n3at"
                        },
                        {
                            "vulnerability": "VCID-vgq9-s6th-yufg"
                        },
                        {
                            "vulnerability": "VCID-xcmd-18ck-gqae"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@5.0.2"
                }
            ],
            "aliases": [
                "CVE-2024-24680",
                "GHSA-xxj9-f6rv-m3x4",
                "PYSEC-2024-28"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yuda-1mur-8bbq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@3.2.24"
}