Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/32013?format=api",
    "purl": "pkg:pypi/apache-airflow@2.8.0",
    "type": "pypi",
    "namespace": "",
    "name": "apache-airflow",
    "version": "2.8.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.1.1",
    "latest_non_vulnerable_version": "3.1.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36389?format=api",
            "vulnerability_id": "VCID-dh4r-77xc-cbas",
            "summary": "Improper Input Validation vulnerability in the Apache Airflow Sqoop Provider.\n\nThis issue affects Apache Airflow Sqoop Provider versions before 3.1.1.",
            "references": [
                {
                    "reference_url": "https://github.com/apache/airflow/pull/29500",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://github.com/apache/airflow/pull/29500"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/79qn8g5xbq036f8crb115obvr22l52q4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://lists.apache.org/thread/79qn8g5xbq036f8crb115obvr22l52q4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/32098?format=api",
                    "purl": "pkg:pypi/apache-airflow@3.1.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/apache-airflow@3.1.1"
                }
            ],
            "aliases": [
                "CVE-2023-25693",
                "PYSEC-2023-314"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dh4r-77xc-cbas"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/apache-airflow@2.8.0"
}