Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54920?format=api",
    "vulnerability_id": "VCID-tvc5-aur6-v3dq",
    "summary": "Laravel Cookie serialization vulnerability\nLaravel 5.6.30 is a security release of Laravel and is recommended as an immediate upgrade for all users. Laravel 5.6.30 also contains a breaking change to cookie encryption and serialization logic. Refer to [laravel advisory](https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30) for more details and read the notes carefully when upgrading your application.",
    "aliases": [
        {
            "alias": "GHSA-6jvx-8ch9-j2jr"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56331?format=api",
            "purl": "pkg:composer/laravel/framework@5.6.30",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-96p3-hbxp-duaz"
                },
                {
                    "vulnerability": "VCID-wptp-4xv5-43du"
                },
                {
                    "vulnerability": "VCID-zj39-eevs-kug3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@5.6.30"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55287?format=api",
            "purl": "pkg:composer/laravel/framework@5.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-96p3-hbxp-duaz"
                },
                {
                    "vulnerability": "VCID-aju9-h338-mfhf"
                },
                {
                    "vulnerability": "VCID-c1e9-2tyr-j3e9"
                },
                {
                    "vulnerability": "VCID-dn8a-epsk-fkgm"
                },
                {
                    "vulnerability": "VCID-eqzu-3cmt-2ube"
                },
                {
                    "vulnerability": "VCID-tvc5-aur6-v3dq"
                },
                {
                    "vulnerability": "VCID-wptp-4xv5-43du"
                },
                {
                    "vulnerability": "VCID-zg1j-9fvd-bqek"
                },
                {
                    "vulnerability": "VCID-zj39-eevs-kug3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@5.5.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/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/laravel/framework/2018-08-08-1.yaml"
        },
        {
            "reference_url": "https://github.com/laravel/framework",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/laravel/framework"
        },
        {
            "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-6jvx-8ch9-j2jr",
            "reference_id": "GHSA-6jvx-8ch9-j2jr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-6jvx-8ch9-j2jr"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 502,
            "name": "Deserialization of Untrusted Data",
            "description": "The product deserializes untrusted data without sufficiently verifying that the resulting data will be 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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tvc5-aur6-v3dq"
}