Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65204?format=api",
    "purl": "pkg:maven/org.xerial/sqlite-jdbc@3.41.2.2",
    "type": "maven",
    "namespace": "org.xerial",
    "name": "sqlite-jdbc",
    "version": "3.41.2.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.41.2.2",
    "latest_non_vulnerable_version": "3.41.2.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45250?format=api",
            "vulnerability_id": "VCID-jgbb-tpub-cybe",
            "summary": "Improper Control of Generation of Code ('Code Injection')\nSQLite JDBC is a library for accessing and creating SQLite database files in Java. Sqlite-jdbc addresses a remote code execution vulnerability via JDBC URL. This issue impacting versions 3.6.14.1 through 3.41.2.1 and has been fixed in version 3.41.2.2.",
            "references": [
                {
                    "reference_url": "https://github.com/xerial/sqlite-jdbc/releases/tag/3.41.2.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xerial/sqlite-jdbc/releases/tag/3.41.2.2"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6phf-6h5g-97j2",
                    "reference_id": "GHSA-6phf-6h5g-97j2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6phf-6h5g-97j2"
                },
                {
                    "reference_url": "https://github.com/xerial/sqlite-jdbc/security/advisories/GHSA-6phf-6h5g-97j2",
                    "reference_id": "GHSA-6phf-6h5g-97j2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xerial/sqlite-jdbc/security/advisories/GHSA-6phf-6h5g-97j2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65204?format=api",
                    "purl": "pkg:maven/org.xerial/sqlite-jdbc@3.41.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xerial/sqlite-jdbc@3.41.2.2"
                }
            ],
            "aliases": [
                "CVE-2023-32697",
                "GHSA-6phf-6h5g-97j2"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jgbb-tpub-cybe"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xerial/sqlite-jdbc@3.41.2.2"
}