Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65805?format=api",
    "purl": "pkg:pypi/apache-airflow-providers-jdbc@4.0.0",
    "type": "pypi",
    "namespace": "",
    "name": "apache-airflow-providers-jdbc",
    "version": "4.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.0.0",
    "latest_non_vulnerable_version": "4.0.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45515?format=api",
            "vulnerability_id": "VCID-r2ee-b6bw-cfey",
            "summary": "Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow JDBC Provider.\nAirflow JDBC Provider Connection’s [Connection URL] parameters had no\nrestrictions, which made it possible to implement RCE attacks via\ndifferent type JDBC drivers, obtain airflow server permission.\nThis issue affects Apache Airflow JDBC Provider: before 4.0.0.",
            "references": [
                {
                    "reference_url": "https://lists.apache.org/thread/ynbjwp4n0vzql0xzhog1gkp1ovncf8j3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread/ynbjwp4n0vzql0xzhog1gkp1ovncf8j3"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22886",
                    "reference_id": "CVE-2023-22886",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22886"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65805?format=api",
                    "purl": "pkg:pypi/apache-airflow-providers-jdbc@4.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/apache-airflow-providers-jdbc@4.0.0"
                }
            ],
            "aliases": [
                "CVE-2023-22886"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r2ee-b6bw-cfey"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/apache-airflow-providers-jdbc@4.0.0"
}