Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65168?format=api",
    "purl": "pkg:maven/org.apache.inlong/manager-dao@1.5.0",
    "type": "maven",
    "namespace": "org.apache.inlong",
    "name": "manager-dao",
    "version": "1.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.7.0",
    "latest_non_vulnerable_version": "1.7.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45241?format=api",
            "vulnerability_id": "VCID-dzjh-b3km-jycq",
            "summary": "Insecure Default Initialization of Resource Vulnerability in Apache Software Foundation Apache InLong.This issue affects Apache InLong: from 1.5.0 through 1.6.0. Users registered in InLong who joined later can see deleted users' data. Users are advised to upgrade to Apache InLong's 1.7.0 or cherry-pick https://github.com/apache/inlong/pull/7836 https://github.com/apache/inlong/pull/7836 to solve it.",
            "references": [
                {
                    "reference_url": "https://github.com/apache/inlong/pull/7836",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/inlong/pull/7836"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/shvwwr6toqz5rr39rwh4k03z08sh9jmr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread/shvwwr6toqz5rr39rwh4k03z08sh9jmr"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31101",
                    "reference_id": "CVE-2023-31101",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31101"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h79m-5cm2-278c",
                    "reference_id": "GHSA-h79m-5cm2-278c",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-h79m-5cm2-278c"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65169?format=api",
                    "purl": "pkg:maven/org.apache.inlong/manager-dao@1.7.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-dao@1.7.0"
                }
            ],
            "aliases": [
                "CVE-2023-31101",
                "GHSA-h79m-5cm2-278c"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dzjh-b3km-jycq"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-dao@1.5.0"
}