Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43661?format=api",
    "vulnerability_id": "VCID-9d85-gejr-2kae",
    "summary": "Allocation of Resources Without Limits or Throttling\nONOS versions 1.8.0, 1.9.0, and 1.10.0 do not restrict the amount of memory allocated. The Netty payload size is not limited.",
    "aliases": [
        {
            "alias": "CVE-2017-13763"
        },
        {
            "alias": "GHSA-c6p7-vhw7-rc9w"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62683?format=api",
            "purl": "pkg:maven/org.onosproject/onos-base@1.11.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.onosproject/onos-base@1.11.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62681?format=api",
            "purl": "pkg:maven/org.onosproject/onos-base@1.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9d85-gejr-2kae"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.onosproject/onos-base@1.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62682?format=api",
            "purl": "pkg:maven/org.onosproject/onos-base@1.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9d85-gejr-2kae"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.onosproject/onos-base@1.10.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://gerrit.onosproject.org/#/c/13831/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://gerrit.onosproject.org/#/c/13831/"
        },
        {
            "reference_url": "https://gerrit.onosproject.org/#/c/14318/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://gerrit.onosproject.org/#/c/14318/"
        },
        {
            "reference_url": "https://github.com/opennetworkinglab/onos/commit/f7c7f6f229978fe4e78045069a4485504cc108c4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/opennetworkinglab/onos/commit/f7c7f6f229978fe4e78045069a4485504cc108c4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-13763",
            "reference_id": "CVE-2017-13763",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-13763"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-c6p7-vhw7-rc9w",
            "reference_id": "GHSA-c6p7-vhw7-rc9w",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-c6p7-vhw7-rc9w"
        }
    ],
    "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": 770,
            "name": "Allocation of Resources Without Limits or Throttling",
            "description": "The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor."
        },
        {
            "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-9d85-gejr-2kae"
}