Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37922?format=api",
    "vulnerability_id": "VCID-7u74-jkq2-pygf",
    "summary": "It's possible to cause a DoS by uploading files with a spoofed media type, because it causes megabytes of logging to be written.",
    "aliases": [
        {
            "alias": "GMS-2015-32"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52376?format=api",
            "purl": "pkg:gem/paperclip@4.3.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/paperclip@4.3.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52323?format=api",
            "purl": "pkg:gem/paperclip@4.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7u74-jkq2-pygf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/paperclip@4.2.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/thoughtbot/paperclip/pull/2017",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/thoughtbot/paperclip/pull/2017"
        },
        {
            "reference_url": "https://github.com/thoughtbot/paperclip/pull/2126",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/thoughtbot/paperclip/pull/2126"
        }
    ],
    "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-7u74-jkq2-pygf"
}