Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37894?format=api",
    "vulnerability_id": "VCID-1c4s-aasg-fbdb",
    "summary": "CSRF Vulnerability\nA number of form actions in the Forum module are directly accessible. A malicious user (e.g. spammer) can use GET requests to create Members and post to forums, bypassing CSRF and anti-spam measures. Additionally, a forum moderator could be tricked into clicking a specially crafted URL, resulting in a topic being moved.",
    "aliases": [
        {
            "alias": "SS-2015-017"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52345?format=api",
            "purl": "pkg:composer/silverstripe/forum@0.6.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/forum@0.6.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52346?format=api",
            "purl": "pkg:composer/silverstripe/forum@0.7.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/forum@0.7.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52347?format=api",
            "purl": "pkg:composer/silverstripe/forum@0.8.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/forum@0.8.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52344?format=api",
            "purl": "pkg:composer/silverstripe/forum@0.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1c4s-aasg-fbdb"
                },
                {
                    "vulnerability": "VCID-qnhh-xma1-5bhm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/forum@0.7.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://www.silverstripe.org/software/download/security-releases/ss-2015-017/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.silverstripe.org/software/download/security-releases/ss-2015-017/"
        }
    ],
    "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": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1c4s-aasg-fbdb"
}