Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39332?format=api",
    "vulnerability_id": "VCID-cqqh-wp8z-jua2",
    "summary": "Improper Input Validation\nA malicious `X-ProxyContextPath` or `X-Forwarded-Context` header containing external resources or embedded code could cause remote code execution.",
    "aliases": [
        {
            "alias": "CVE-2017-15697"
        }
    ],
    "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-15697",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://nifi.apache.org/security.html#CVE-2017-15697"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15697",
            "reference_id": "CVE-2017-15697",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15697"
        }
    ],
    "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-cqqh-wp8z-jua2"
}