Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40103?format=api",
    "vulnerability_id": "VCID-3qct-gbgt-kkbb",
    "summary": "Cross-site Scripting\nThe debug handler in Symfony has an XSS via an array key during exception pretty printing in `ExceptionHandler.php`, as demonstrated by a `/_debugbar/open?op`=get` URI.",
    "aliases": [
        {
            "alias": "CVE-2017-18343"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56128?format=api",
            "purl": "pkg:composer/symfony/symfony@2.7.33",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.7.33"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56129?format=api",
            "purl": "pkg:composer/symfony/symfony@2.8.26",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.8.26"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55844?format=api",
            "purl": "pkg:composer/symfony/symfony@3.2.13",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-djnm-e9r4-c3f5"
                },
                {
                    "vulnerability": "VCID-dsbx-q641-4fc7"
                },
                {
                    "vulnerability": "VCID-xdtu-22ad-63aq"
                },
                {
                    "vulnerability": "VCID-xj13-fspe-hfgv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.2.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56130?format=api",
            "purl": "pkg:composer/symfony/symfony@3.3.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.3.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55855?format=api",
            "purl": "pkg:composer/symfony/symfony@2.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1y96-v19f-tkgg"
                },
                {
                    "vulnerability": "VCID-23hr-yznx-c3fb"
                },
                {
                    "vulnerability": "VCID-3qct-gbgt-kkbb"
                },
                {
                    "vulnerability": "VCID-6c6t-kmb3-2qcm"
                },
                {
                    "vulnerability": "VCID-7m45-bvbn-4qd3"
                },
                {
                    "vulnerability": "VCID-frbz-vpfe-vbh9"
                },
                {
                    "vulnerability": "VCID-mew1-9shg-mugs"
                },
                {
                    "vulnerability": "VCID-tx26-92jc-rkff"
                },
                {
                    "vulnerability": "VCID-uuk9-e5qy-rfgf"
                },
                {
                    "vulnerability": "VCID-zeut-9wfp-q7et"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55827?format=api",
            "purl": "pkg:composer/symfony/symfony@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-23hr-yznx-c3fb"
                },
                {
                    "vulnerability": "VCID-3qct-gbgt-kkbb"
                },
                {
                    "vulnerability": "VCID-6c6t-kmb3-2qcm"
                },
                {
                    "vulnerability": "VCID-7m45-bvbn-4qd3"
                },
                {
                    "vulnerability": "VCID-ef86-hqv4-6kaz"
                },
                {
                    "vulnerability": "VCID-frbz-vpfe-vbh9"
                },
                {
                    "vulnerability": "VCID-mew1-9shg-mugs"
                },
                {
                    "vulnerability": "VCID-nsuz-7sdv-abef"
                },
                {
                    "vulnerability": "VCID-qqd1-smb1-sbe8"
                },
                {
                    "vulnerability": "VCID-tx26-92jc-rkff"
                },
                {
                    "vulnerability": "VCID-uuk9-e5qy-rfgf"
                },
                {
                    "vulnerability": "VCID-vyug-krcw-jyef"
                },
                {
                    "vulnerability": "VCID-zeut-9wfp-q7et"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56127?format=api",
            "purl": "pkg:composer/symfony/symfony@3.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1y96-v19f-tkgg"
                },
                {
                    "vulnerability": "VCID-3qct-gbgt-kkbb"
                },
                {
                    "vulnerability": "VCID-dsbx-q641-4fc7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-18343",
            "reference_id": "CVE-2017-18343",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-18343"
        }
    ],
    "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-3qct-gbgt-kkbb"
}