Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/69001?format=api",
    "purl": "pkg:maven/org.postgresql/postgresql@42.5.0",
    "type": "maven",
    "namespace": "org.postgresql",
    "name": "postgresql",
    "version": "42.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "42.5.5",
    "latest_non_vulnerable_version": "42.7.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47037?format=api",
            "vulnerability_id": "VCID-nw8j-ybjy-hqbg",
            "summary": "Duplicate\nThis advisory duplicates another.",
            "references": [
                {
                    "reference_url": "https://github.com/pgjdbc/pgjdbc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pgjdbc/pgjdbc"
                },
                {
                    "reference_url": "https://github.com/pgjdbc/pgjdbc/commit/06abfb78a627277a580d4df825f210e96a4e14ee",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pgjdbc/pgjdbc/commit/06abfb78a627277a580d4df825f210e96a4e14ee"
                },
                {
                    "reference_url": "https://github.com/pgjdbc/pgjdbc/commit/93b0fcb2711d9c1e3a2a03134369738a02a58b40",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pgjdbc/pgjdbc/commit/93b0fcb2711d9c1e3a2a03134369738a02a58b40"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1597",
                    "reference_id": "CVE-2024-1597",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1597"
                },
                {
                    "reference_url": "https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56",
                    "reference_id": "GHSA-24rp-q3w6-vc56",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xfg6-62px-cxc2",
                    "reference_id": "GHSA-xfg6-62px-cxc2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xfg6-62px-cxc2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69007?format=api",
                    "purl": "pkg:maven/org.postgresql/postgresql@42.5.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.5.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69004?format=api",
                    "purl": "pkg:maven/org.postgresql/postgresql@42.6.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.6.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69005?format=api",
                    "purl": "pkg:maven/org.postgresql/postgresql@42.7.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.7.2"
                }
            ],
            "aliases": [
                "CVE-2024-1597",
                "GHSA-xfg6-62px-cxc2"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nw8j-ybjy-hqbg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.5.0"
}