Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40305?format=api",
    "vulnerability_id": "VCID-9tjj-h8mh-67ch",
    "summary": "Improper Input Validation\nA Denial of Service vulnerability was found in Apache Qpid Broker-J versions 7.0.0-7.0.4 when AMQP protocols 0-8, 0-9 or 0-91 are used to publish messages with size greater than allowed maximum message size limit (100MB by default). The broker crashes due to the defect. AMQP protocols 0-10 and 1.0 are not affected.",
    "aliases": [
        {
            "alias": "CVE-2018-8030"
        },
        {
            "alias": "GHSA-7xr3-rgwh-pw22"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56668?format=api",
            "purl": "pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56667?format=api",
            "purl": "pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9tjj-h8mh-67ch"
                },
                {
                    "vulnerability": "VCID-ndcc-gmaq-bbg2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8030",
            "reference_id": "CVE-2018-8030",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8030"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7xr3-rgwh-pw22",
            "reference_id": "GHSA-7xr3-rgwh-pw22",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-7xr3-rgwh-pw22"
        }
    ],
    "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": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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-9tjj-h8mh-67ch"
}