Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38634?format=api",
    "vulnerability_id": "VCID-yya5-5dvm-x7ga",
    "summary": "Origin Validation Error\nAn authenticated user may use a specially crafted URL to impersonate another user while accessing WebHDFS through Apache Knox.",
    "aliases": [
        {
            "alias": "CVE-2017-5646"
        },
        {
            "alias": "GHSA-g3fc-8jv4-qmmv"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53623?format=api",
            "purl": "pkg:maven/org.apache.knox/gateway@0.12.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.knox/gateway@0.12.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62868?format=api",
            "purl": "pkg:maven/org.apache.knox/gateway-provider-identity-assertion-common@0.12.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.knox/gateway-provider-identity-assertion-common@0.12.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53621?format=api",
            "purl": "pkg:maven/org.apache.knox/gateway@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-yya5-5dvm-x7ga"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.knox/gateway@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53622?format=api",
            "purl": "pkg:maven/org.apache.knox/gateway@0.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-yya5-5dvm-x7ga"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.knox/gateway@0.11.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62867?format=api",
            "purl": "pkg:maven/org.apache.knox/gateway-provider-identity-assertion-common@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-yya5-5dvm-x7ga"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.knox/gateway-provider-identity-assertion-common@0.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/apache/knox",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/knox"
        },
        {
            "reference_url": "https://github.com/apache/knox/commit/998dcd257dc839c9651485760da4d614c16e2ca2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/knox/commit/998dcd257dc839c9651485760da4d614c16e2ca2"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/rcd6bcbcc08840d4e4bea661efe9a5ef8f6126ebbbc5bc266701d8f48@%3Cdev.logging.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/rcd6bcbcc08840d4e4bea661efe9a5ef8f6126ebbbc5bc266701d8f48@%3Cdev.logging.apache.org%3E"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/98739",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/98739"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5646",
            "reference_id": "CVE-2017-5646",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5646"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-g3fc-8jv4-qmmv",
            "reference_id": "GHSA-g3fc-8jv4-qmmv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-g3fc-8jv4-qmmv"
        }
    ],
    "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": 346,
            "name": "Origin Validation Error",
            "description": "The product does not properly verify that the source of data or communication is 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-yya5-5dvm-x7ga"
}