Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/503066?format=api",
    "purl": "pkg:composer/ezsystems/ezplatform@1.0.1",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "ezplatform",
    "version": "1.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.0.0-alpha1",
    "latest_non_vulnerable_version": "3.0.0-beta1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42284?format=api",
            "vulnerability_id": "VCID-qnqp-1ns6-cqex",
            "summary": "Any storage file can be downloaded from p.sh if full server path is known\nThe default configuration for platform.sh (.platform.app.yaml) allows access to uploaded files if you know or can guess their location, regardless of whether roles grant content read access to the content containing those files. If you're using Legacy Bridge, the default configuration also allows access to certain legacy files that should not be readable, including the legacy var directory and extension directories.",
            "references": [
                {
                    "reference_url": "https://developers.ibexa.co/security-advisories/ibexa-sa-2021-006-storage-and-legacy-files-accessible-if-path-is-known",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://developers.ibexa.co/security-advisories/ibexa-sa-2021-006-storage-and-legacy-files-accessible-if-path-is-known"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezplatform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezplatform"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezplatform/security/advisories/GHSA-2rh5-jvgx-pgw3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezplatform/security/advisories/GHSA-2rh5-jvgx-pgw3"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2rh5-jvgx-pgw3",
                    "reference_id": "GHSA-2rh5-jvgx-pgw3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-2rh5-jvgx-pgw3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76353?format=api",
                    "purl": "pkg:composer/ezsystems/ezplatform@1.13.6%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform@1.13.6%252B1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/503195?format=api",
                    "purl": "pkg:composer/ezsystems/ezplatform@2.0.0-alpha1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform@2.0.0-alpha1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76352?format=api",
                    "purl": "pkg:composer/ezsystems/ezplatform@2.5.24%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform@2.5.24%252B1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/503257?format=api",
                    "purl": "pkg:composer/ezsystems/ezplatform@3.0.0-beta1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform@3.0.0-beta1"
                }
            ],
            "aliases": [
                "GHSA-2rh5-jvgx-pgw3",
                "GMS-2021-46"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qnqp-1ns6-cqex"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform@1.0.1"
}