Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/74502?format=api",
    "purl": "pkg:composer/prestashop/autoupgrade@4.10.1",
    "type": "composer",
    "namespace": "prestashop",
    "name": "autoupgrade",
    "version": "4.10.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/339767?format=api",
            "vulnerability_id": "VCID-gsm3-yh7a-tkhq",
            "summary": "PrestaShop autoupgrade module ZIP archives were vulnerable from CVE-2017-9841",
            "references": [
                {
                    "reference_url": "https://github.com/PrestaShop/autoupgrade/commit/ce96357ad3ff6278bb28dc225913e75c2f077a32",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PrestaShop/autoupgrade/commit/ce96357ad3ff6278bb28dc225913e75c2f077a32"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wqq8-mqj9-697f",
                    "reference_id": "GHSA-wqq8-mqj9-697f",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-wqq8-mqj9-697f"
                },
                {
                    "reference_url": "https://github.com/PrestaShop/autoupgrade/security/advisories/GHSA-wqq8-mqj9-697f",
                    "reference_id": "GHSA-wqq8-mqj9-697f",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PrestaShop/autoupgrade/security/advisories/GHSA-wqq8-mqj9-697f"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/74502?format=api",
                    "purl": "pkg:composer/prestashop/autoupgrade@4.10.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/autoupgrade@4.10.1"
                }
            ],
            "aliases": [
                "GHSA-wqq8-mqj9-697f",
                "GMS-2020-573"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gsm3-yh7a-tkhq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/autoupgrade@4.10.1"
}