Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43476?format=api",
    "vulnerability_id": "VCID-13tt-s5rf-xbgf",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nA flaw was found in cobbler software component version 2.6.11-1. It suffers from an invalid parameter validation vulnerability, leading the arbitrary file reading. The flaw is triggered by navigating to a vulnerable URL via cobbler-web on a default installation.",
    "aliases": [
        {
            "alias": "CVE-2016-9605"
        },
        {
            "alias": "GHSA-4vc9-4xpq-77vm"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62352?format=api",
            "purl": "pkg:pypi/cobbler@2.6.11.post1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-13tt-s5rf-xbgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cobbler@2.6.11.post1"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9605",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9605"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-9605",
            "reference_id": "CVE-2016-9605",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-9605"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4vc9-4xpq-77vm",
            "reference_id": "GHSA-4vc9-4xpq-77vm",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-4vc9-4xpq-77vm"
        }
    ],
    "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": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "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-13tt-s5rf-xbgf"
}