Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35266?format=api",
    "vulnerability_id": "VCID-6xpv-ua1h-wfgp",
    "summary": "An issue was discovered in Django 2.1 before 2.1.2, in which unprivileged users can read the password hashes of arbitrary accounts. The read-only password widget used by the Django Admin to display an obfuscated password hash was bypassed if a user has only the \"view\" permission (new in Django 2.1), resulting in display of the entire password hash to those users. This may result in a vulnerability for sites with legacy user accounts using insecure hashes.",
    "aliases": [
        {
            "alias": "CVE-2018-16984"
        },
        {
            "alias": "GHSA-6mx3-3vqg-hpp2"
        },
        {
            "alias": "PYSEC-2018-3"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/12062?format=api",
            "purl": "pkg:pypi/django@2.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3mfy-uj9u-d7de"
                },
                {
                    "vulnerability": "VCID-9mpt-zxaw-kkeg"
                },
                {
                    "vulnerability": "VCID-c3m7-fu62-2qd9"
                },
                {
                    "vulnerability": "VCID-f1br-hvnm-wfdg"
                },
                {
                    "vulnerability": "VCID-g44a-m54u-97cr"
                },
                {
                    "vulnerability": "VCID-gfar-wbzc-3ubr"
                },
                {
                    "vulnerability": "VCID-kbab-v2gz-dfe6"
                },
                {
                    "vulnerability": "VCID-pgtx-cdua-kfb4"
                },
                {
                    "vulnerability": "VCID-t952-ghnf-jkby"
                },
                {
                    "vulnerability": "VCID-yreb-z7nz-jkbs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.1.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/12060?format=api",
            "purl": "pkg:pypi/django@2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3mfy-uj9u-d7de"
                },
                {
                    "vulnerability": "VCID-6xpv-ua1h-wfgp"
                },
                {
                    "vulnerability": "VCID-9mpt-zxaw-kkeg"
                },
                {
                    "vulnerability": "VCID-c3m7-fu62-2qd9"
                },
                {
                    "vulnerability": "VCID-f1br-hvnm-wfdg"
                },
                {
                    "vulnerability": "VCID-g44a-m54u-97cr"
                },
                {
                    "vulnerability": "VCID-gfar-wbzc-3ubr"
                },
                {
                    "vulnerability": "VCID-kbab-v2gz-dfe6"
                },
                {
                    "vulnerability": "VCID-pgtx-cdua-kfb4"
                },
                {
                    "vulnerability": "VCID-t952-ghnf-jkby"
                },
                {
                    "vulnerability": "VCID-yreb-z7nz-jkbs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/12061?format=api",
            "purl": "pkg:pypi/django@2.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3mfy-uj9u-d7de"
                },
                {
                    "vulnerability": "VCID-6xpv-ua1h-wfgp"
                },
                {
                    "vulnerability": "VCID-9mpt-zxaw-kkeg"
                },
                {
                    "vulnerability": "VCID-c3m7-fu62-2qd9"
                },
                {
                    "vulnerability": "VCID-f1br-hvnm-wfdg"
                },
                {
                    "vulnerability": "VCID-g44a-m54u-97cr"
                },
                {
                    "vulnerability": "VCID-gfar-wbzc-3ubr"
                },
                {
                    "vulnerability": "VCID-kbab-v2gz-dfe6"
                },
                {
                    "vulnerability": "VCID-pgtx-cdua-kfb4"
                },
                {
                    "vulnerability": "VCID-t952-ghnf-jkby"
                },
                {
                    "vulnerability": "VCID-yreb-z7nz-jkbs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@2.1.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/advisories/GHSA-6mx3-3vqg-hpp2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-6mx3-3vqg-hpp2"
        },
        {
            "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/bf39978a53f117ca02e9a0c78b76664a41a54745",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/django/django/commit/bf39978a53f117ca02e9a0c78b76664a41a54745"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20190502-0009",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20190502-0009"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20190502-0009/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20190502-0009/"
        },
        {
            "reference_url": "https://web.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749"
        },
        {
            "reference_url": "https://www.djangoproject.com/weblog/2018/oct/01/security-release",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.djangoproject.com/weblog/2018/oct/01/security-release"
        },
        {
            "reference_url": "https://www.djangoproject.com/weblog/2018/oct/01/security-release/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.djangoproject.com/weblog/2018/oct/01/security-release/"
        },
        {
            "reference_url": "http://www.securitytracker.com/id/1041749",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securitytracker.com/id/1041749"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16984",
            "reference_id": "CVE-2018-16984",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16984"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 522,
            "name": "Insufficiently Protected Credentials",
            "description": "The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6xpv-ua1h-wfgp"
}