Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56296?format=api",
    "purl": "pkg:composer/symfony/symfony@3.2.0",
    "type": "composer",
    "namespace": "symfony",
    "name": "symfony",
    "version": "3.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.2.12",
    "latest_non_vulnerable_version": "8.0.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40159?format=api",
            "vulnerability_id": "VCID-dsbx-q641-4fc7",
            "summary": "Cross-Site Request Forgery (CSRF)\nThe current implementation of CSRF protection in Symfony does not use different tokens for HTTP and HTTPS.",
            "references": [
                {
                    "reference_url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16653",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16653"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/pull/24992",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/pull/24992"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16653",
                    "reference_id": "CVE-2017-16653",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16653"
                },
                {
                    "reference_url": "https://symfony.com/cve-2017-16653",
                    "reference_id": "CVE-2017-16653",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/cve-2017-16653"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55849?format=api",
                    "purl": "pkg:composer/symfony/symfony@3.2.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.2.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55850?format=api",
                    "purl": "pkg:composer/symfony/symfony@3.3.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.3.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55828?format=api",
                    "purl": "pkg:composer/symfony/symfony@4.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1y96-v19f-tkgg"
                        },
                        {
                            "vulnerability": "VCID-23hr-yznx-c3fb"
                        },
                        {
                            "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@4.0.0"
                }
            ],
            "aliases": [
                "CVE-2017-16653"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dsbx-q641-4fc7"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.2.0"
}