Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/566992?format=api",
    "purl": "pkg:composer/laravel/laravel@5.8.0",
    "type": "composer",
    "namespace": "laravel",
    "name": "laravel",
    "version": "5.8.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "9.1.9",
    "latest_non_vulnerable_version": "9.1.9",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42875?format=api",
            "vulnerability_id": "VCID-67cz-hs1f-j7c4",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nA Remote Code Execution (RCE) vulnerability exists in h laravel 5.8.38 via an unserialize pop chain in (1) __destruct in \\Routing\\PendingResourceRegistration.php, (2) __cal in Queue\\Capsule\\Manager.php, and (3) __invoke in mockery\\library\\Mockery\\ClosureWrapper.php.",
            "references": [
                {
                    "reference_url": "https://github.com/1nhann/vulns/issues/1#issuecomment-1213126338",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/1nhann/vulns/issues/1#issuecomment-1213126338"
                },
                {
                    "reference_url": "https://github.com/guoyanan1g/Laravel-vul/issues/2#issue-1045655892",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/guoyanan1g/Laravel-vul/issues/2#issue-1045655892"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43503",
                    "reference_id": "CVE-2021-43503",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43503"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-86r3-4gq8-xw8q",
                    "reference_id": "GHSA-86r3-4gq8-xw8q",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-86r3-4gq8-xw8q"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/566997?format=api",
                    "purl": "pkg:composer/laravel/laravel@6.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-aqf1-d4z7-6fb4"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/laravel@6.0.0"
                }
            ],
            "aliases": [
                "CVE-2021-43503",
                "GHSA-86r3-4gq8-xw8q"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-67cz-hs1f-j7c4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/110689?format=api",
            "vulnerability_id": "VCID-aqf1-d4z7-6fb4",
            "summary": "Unserialized Pop Chain in Laravel\n## Withdrawn\nThis advisory has been withdrawn because it is not a security issue and the CVE has been revoked.\n\n## Original Description\nLaravel 9.1.8, when processing attacker-controlled data for deserialization, allows Remote Code Execution (RCE) via an unserialized pop chain in __destruct in Illuminate\\Broadcasting\\PendingBroadcast.php and __call in Faker\\Generator.php.",
            "references": [
                {
                    "reference_url": "https://github.com/1nhann/vulns/issues/1#issuecomment-1213126338",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/1nhann/vulns/issues/1#issuecomment-1213126338"
                },
                {
                    "reference_url": "https://github.com/1nhann/vulns/issues/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/1nhann/vulns/issues/3"
                },
                {
                    "reference_url": "https://github.com/ambionics/phpggc/issues/118",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ambionics/phpggc/issues/118"
                },
                {
                    "reference_url": "https://github.com/laravel/laravel",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/laravel/laravel"
                },
                {
                    "reference_url": "https://inhann.top/2022/05/17/bypass_wakeup",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://inhann.top/2022/05/17/bypass_wakeup"
                },
                {
                    "reference_url": "https://inhann.top/2022/05/17/bypass_wakeup/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://inhann.top/2022/05/17/bypass_wakeup/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31279",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31279"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vv7q-mfpc-qgm5",
                    "reference_id": "GHSA-vv7q-mfpc-qgm5",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-vv7q-mfpc-qgm5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/590535?format=api",
                    "purl": "pkg:composer/laravel/laravel@9.1.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/laravel@9.1.9"
                }
            ],
            "aliases": [
                "CVE-2022-31279",
                "GHSA-vv7q-mfpc-qgm5"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-aqf1-d4z7-6fb4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/laravel@5.8.0"
}