Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37481?format=api",
    "vulnerability_id": "VCID-qhta-j4pn-eugr",
    "summary": "PubSubHubbub Service Hooks support is broken\nThe PubSubHubbub Service Hooks support was broken since url_encoded requests have been removed.",
    "aliases": [
        {
            "alias": "GMS-2013-1"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51362?format=api",
            "purl": "pkg:gem/octokit@1.22.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/octokit@1.22.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51361?format=api",
            "purl": "pkg:gem/octokit@1.19",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qhta-j4pn-eugr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/octokit@1.19"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/196962?format=api",
            "purl": "pkg:gem/octokit@1.19.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qhta-j4pn-eugr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/octokit@1.19.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/196963?format=api",
            "purl": "pkg:gem/octokit@1.20.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qhta-j4pn-eugr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/octokit@1.20.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/196964?format=api",
            "purl": "pkg:gem/octokit@1.21.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qhta-j4pn-eugr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/octokit@1.21.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/pengwynn/octokit/pull/203#commits-pushed-6ecd347",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pengwynn/octokit/pull/203#commits-pushed-6ecd347"
        }
    ],
    "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-qhta-j4pn-eugr"
}