Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38197?format=api",
    "vulnerability_id": "VCID-cx61-cy3w-sbg5",
    "summary": "This package is vulnerable to Cross-Site Request Forgery (CSRF) attacks.",
    "aliases": [
        {
            "alias": "GMS-2016-60"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52861?format=api",
            "purl": "pkg:pypi/django-discord-bind@0.2.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-discord-bind@0.2.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/205320?format=api",
            "purl": "pkg:pypi/django-discord-bind@0.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cx61-cy3w-sbg5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-discord-bind@0.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/205321?format=api",
            "purl": "pkg:pypi/django-discord-bind@0.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cx61-cy3w-sbg5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-discord-bind@0.1.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/mrogaski/django-discord-bind/commit/b586a9c9c4cad3cf17f46b34e7faa5174ce04fa8",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mrogaski/django-discord-bind/commit/b586a9c9c4cad3cf17f46b34e7faa5174ce04fa8"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cx61-cy3w-sbg5"
}