Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67615?format=api",
    "purl": "pkg:composer/ezsystems/ezpublish-kernel@7.5.31",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "ezpublish-kernel",
    "version": "7.5.31",
    "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/46337?format=api",
            "vulnerability_id": "VCID-tw5w-dvc4-gfh4",
            "summary": "Download route allows filename change in eZpublish kernel\n### Impact\nThe route used for file downloads allows specifying the name of the downloaded file. This is an unintended side effect of the implementation, and means one could construct download URLs with filenames that have no relation to the actual file, which could lead to misunderstandings and confusion, and possibly other harm. As such it is a low severity vulnerability. It affects all supported versions of Ibexa DXP and eZ Platform, in installations where downloadable files exist.\n\n### Patches\nThe issue is fixed in all supported versions of ezsystems/ezpublish-kernel, see \"Patched versions\".\nAn advisory is also published for ezsystems/ezplatform-kernel and ibexa/core, please see those repositories.\n Commit: https://github.com/ezsystems/ezpublish-kernel/commit/142152f9bae4c4835713df0bdfe22bc98d03f9a1\n\n### Workarounds\nNone, other than blocking all downloads.\n\n ### References\n https://developers.ibexa.co/security-advisories/ibexa-sa-2023-005-vulnerabilities-in-solr-search-and-file-downloads",
            "references": [
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel/commit/142152f9bae4c4835713df0bdfe22bc98d03f9a1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ezsystems/ezpublish-kernel/commit/142152f9bae4c4835713df0bdfe22bc98d03f9a1"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-946c-f9w6-2c25",
                    "reference_id": "GHSA-946c-f9w6-2c25",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-946c-f9w6-2c25"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-946c-f9w6-2c25",
                    "reference_id": "GHSA-946c-f9w6-2c25",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-946c-f9w6-2c25"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67615?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-kernel@7.5.31",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.5.31"
                }
            ],
            "aliases": [
                "GHSA-946c-f9w6-2c25",
                "GMS-2023-3989"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tw5w-dvc4-gfh4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.5.31"
}