Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/33553?format=api",
    "purl": "pkg:pypi/mage-ai@0.8.42",
    "type": "pypi",
    "namespace": "",
    "name": "mage-ai",
    "version": "0.8.42",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.8.72",
    "latest_non_vulnerable_version": "0.8.72",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36438?format=api",
            "vulnerability_id": "VCID-gjus-pm3x-1qdg",
            "summary": "mage-ai is an open-source data pipeline tool for transforming and integrating data. Those who use Mage starting in version 0.8.34 and prior to 0.8.72 with user authentication enabled may be affected by a vulnerability. The terminal could be accessed by users who are not signed in or do not have editor permissions. Version 0.8.72 contains a fix for this issue.",
            "references": [
                {
                    "reference_url": "https://github.com/mage-ai/mage-ai",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mage-ai/mage-ai"
                },
                {
                    "reference_url": "https://github.com/mage-ai/mage-ai/commit/f63cd00f6a3be372397d37a4c9a49bfaf50d7650",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mage-ai/mage-ai/commit/f63cd00f6a3be372397d37a4c9a49bfaf50d7650"
                },
                {
                    "reference_url": "https://github.com/mage-ai/mage-ai/security/advisories/GHSA-c6mm-2g84-v4m7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mage-ai/mage-ai/security/advisories/GHSA-c6mm-2g84-v4m7"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mage-ai/PYSEC-2023-64.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mage-ai/PYSEC-2023-64.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31143",
                    "reference_id": "CVE-2023-31143",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31143"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-c6mm-2g84-v4m7",
                    "reference_id": "GHSA-c6mm-2g84-v4m7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-c6mm-2g84-v4m7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/33582?format=api",
                    "purl": "pkg:pypi/mage-ai@0.8.72",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mage-ai@0.8.72"
                }
            ],
            "aliases": [
                "CVE-2023-31143",
                "GHSA-c6mm-2g84-v4m7",
                "PYSEC-2023-64"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gjus-pm3x-1qdg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mage-ai@0.8.42"
}