Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/55339?format=api",
    "purl": "pkg:composer/illuminate/cookie@5.6.30",
    "type": "composer",
    "namespace": "illuminate",
    "name": "cookie",
    "version": "5.6.30",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.18.31",
    "latest_non_vulnerable_version": "7.22.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/340768?format=api",
            "vulnerability_id": "VCID-hv6g-2mtd-ayfs",
            "summary": "Laravel RCE vulnerability in \"cookie\" session driver",
            "references": [
                {
                    "reference_url": "https://blog.laravel.com/laravel-cookie-security-releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://blog.laravel.com/laravel-cookie-security-releases"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/cookie/2020-07-27-1.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/cookie/2020-07-27-1.yaml"
                },
                {
                    "reference_url": "https://github.com/illuminate/cookie",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/illuminate/cookie"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2ffv-r4r9-r8xr",
                    "reference_id": "GHSA-2ffv-r4r9-r8xr",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-2ffv-r4r9-r8xr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81281?format=api",
                    "purl": "pkg:composer/illuminate/cookie@6.18.31",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/cookie@6.18.31"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81280?format=api",
                    "purl": "pkg:composer/illuminate/cookie@7.22.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/cookie@7.22.4"
                }
            ],
            "aliases": [
                "GHSA-2ffv-r4r9-r8xr"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hv6g-2mtd-ayfs"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12866?format=api",
            "vulnerability_id": "VCID-d1w2-69kz-p3dg",
            "summary": "Session Fixation\nCookie serialization vulnerability.",
            "references": [
                {
                    "reference_url": "https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/120441?format=api",
                    "purl": "pkg:composer/illuminate/cookie@4.2.0-BETA1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hv6g-2mtd-ayfs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/cookie@4.2.0-BETA1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55338?format=api",
                    "purl": "pkg:composer/illuminate/cookie@5.5.43",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hv6g-2mtd-ayfs"
                        },
                        {
                            "vulnerability": "VCID-ju3z-he1x-cuch"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/cookie@5.5.43"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55339?format=api",
                    "purl": "pkg:composer/illuminate/cookie@5.6.30",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hv6g-2mtd-ayfs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/cookie@5.6.30"
                }
            ],
            "aliases": [
                "GMS-2018-70"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d1w2-69kz-p3dg"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/340771?format=api",
            "vulnerability_id": "VCID-ju3z-he1x-cuch",
            "summary": "Laravel Cookie serialization vulnerability",
            "references": [
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/cookie/2018-08-08-1.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/cookie/2018-08-08-1.yaml"
                },
                {
                    "reference_url": "https://github.com/illuminate/cookie",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/illuminate/cookie"
                },
                {
                    "reference_url": "https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2867-6rrm-38gr",
                    "reference_id": "GHSA-2867-6rrm-38gr",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-2867-6rrm-38gr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55339?format=api",
                    "purl": "pkg:composer/illuminate/cookie@5.6.30",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hv6g-2mtd-ayfs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/cookie@5.6.30"
                }
            ],
            "aliases": [
                "GHSA-2867-6rrm-38gr"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ju3z-he1x-cuch"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/cookie@5.6.30"
}