Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43091?format=api",
    "vulnerability_id": "VCID-kc75-qwxj-hbec",
    "summary": "Django Arbitrary Code Execution\n`bin/compile-messages.py` in Django 0.95 does not quote argument strings before invoking the msgfmt program through the os.system function, which allows attackers to execute arbitrary commands via shell metacharacters in a (1) .po or (2) .mo file.",
    "aliases": [
        {
            "alias": "CVE-2007-0404"
        },
        {
            "alias": "GHSA-qc99-g3wm-hgxr"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61667?format=api",
            "purl": "pkg:pypi/django@1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-18gm-v5zp-tqf9"
                },
                {
                    "vulnerability": "VCID-u4sa-1yn4-h3ff"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@1.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61666?format=api",
            "purl": "pkg:pypi/django@0.95",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4z7r-xd8z-3ybm"
                },
                {
                    "vulnerability": "VCID-84qe-mdwm-y3ey"
                },
                {
                    "vulnerability": "VCID-kc75-qwxj-hbec"
                },
                {
                    "vulnerability": "VCID-ukf6-xwqc-xkdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django@0.95"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/31627",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/31627"
        },
        {
            "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/518d406e53",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/django/django/commit/518d406e53"
        },
        {
            "reference_url": "https://github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2007-0404",
            "reference_id": "CVE-2007-0404",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-0404"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-qc99-g3wm-hgxr",
            "reference_id": "GHSA-qc99-g3wm-hgxr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-qc99-g3wm-hgxr"
        }
    ],
    "weaknesses": [
        {
            "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-kc75-qwxj-hbec"
}