Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39346?format=api",
    "vulnerability_id": "VCID-2ps4-jf7z-nqf1",
    "summary": "Deserialization of Untrusted Data\nAny authenticated user (valid client certificate but without ACL permissions) could upload a template which contained malicious code and caused a denial of service via Java deserialization attack.",
    "aliases": [
        {
            "alias": "CVE-2017-15703"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54907?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@1.5.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.5.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53683?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2ps4-jf7z-nqf1"
                },
                {
                    "vulnerability": "VCID-49kq-6d3w-1ufx"
                },
                {
                    "vulnerability": "VCID-5yn9-8juq-mkd9"
                },
                {
                    "vulnerability": "VCID-cqqh-wp8z-jua2"
                },
                {
                    "vulnerability": "VCID-e3tg-8rmu-9ucb"
                },
                {
                    "vulnerability": "VCID-ty4z-t2su-muc6"
                },
                {
                    "vulnerability": "VCID-uxfk-98ce-hfe8"
                },
                {
                    "vulnerability": "VCID-y1sd-wp8g-afcn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54418?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@1.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2ps4-jf7z-nqf1"
                },
                {
                    "vulnerability": "VCID-cqqh-wp8z-jua2"
                },
                {
                    "vulnerability": "VCID-jnfq-u9wb-k7dq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.4.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://nifi.apache.org/security.html#CVE-2017-15703",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://nifi.apache.org/security.html#CVE-2017-15703"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15703",
            "reference_id": "CVE-2017-15703",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15703"
        }
    ],
    "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": 502,
            "name": "Deserialization of Untrusted Data",
            "description": "The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid."
        },
        {
            "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-2ps4-jf7z-nqf1"
}