Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361908?format=api",
    "vulnerability_id": "VCID-u9f1-xb49-fyfn",
    "summary": "Downloads Resources over HTTP\nnode-browser downloads resources over HTTP, which leaves it vulnerable to MITM attacks.",
    "aliases": [
        {
            "alias": "GMS-2017-81"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/388801?format=api",
            "purl": "pkg:npm/node-browser@0.0.0-alpha",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-u9f1-xb49-fyfn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-browser@0.0.0-alpha"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/411836?format=api",
            "purl": "pkg:npm/node-browser@0.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f2zn-2pmc-ebb4"
                },
                {
                    "vulnerability": "VCID-u9f1-xb49-fyfn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-browser@0.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/411837?format=api",
            "purl": "pkg:npm/node-browser@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f2zn-2pmc-ebb4"
                },
                {
                    "vulnerability": "VCID-u9f1-xb49-fyfn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-browser@0.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/14949?format=api",
            "purl": "pkg:npm/node-browser@0.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f2zn-2pmc-ebb4"
                },
                {
                    "vulnerability": "VCID-u9f1-xb49-fyfn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-browser@0.0.3"
        }
    ],
    "references": [],
    "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-u9f1-xb49-fyfn"
}