Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65213?format=api",
    "purl": "pkg:maven/com.liferay.portal/release.portal.bom@7.4.3.49",
    "type": "maven",
    "namespace": "com.liferay.portal",
    "name": "release.portal.bom",
    "version": "7.4.3.49",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.4.3.51",
    "latest_non_vulnerable_version": "7.4.3.120",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45256?format=api",
            "vulnerability_id": "VCID-v633-mycj-6uh6",
            "summary": "Liferay portal unauthorized access to objects via OAuth 2 scope\nThe Object module in Liferay Portal 7.4.3.4 through 7.4.3.48, and Liferay DXP 7.4 before update 49 does properly isolate objects in difference virtual instances, which allows remote authenticated users in one virtual instance to view objects in a different virtual instance via OAuth 2 scope administration page.",
            "references": [
                {
                    "reference_url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-33946",
                    "reference_id": "CVE-2023-33946",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-33946"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33946",
                    "reference_id": "CVE-2023-33946",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33946"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2868-ff44-43qv",
                    "reference_id": "GHSA-2868-ff44-43qv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-2868-ff44-43qv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65213?format=api",
                    "purl": "pkg:maven/com.liferay.portal/release.portal.bom@7.4.3.49",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.portal.bom@7.4.3.49"
                }
            ],
            "aliases": [
                "CVE-2023-33946",
                "GHSA-2868-ff44-43qv"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v633-mycj-6uh6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.portal.bom@7.4.3.49"
}