Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/25204?format=api",
    "purl": "pkg:pypi/aim@3.0.0",
    "type": "pypi",
    "namespace": "",
    "name": "aim",
    "version": "3.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.1.0",
    "latest_non_vulnerable_version": "3.1.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35918?format=api",
            "vulnerability_id": "VCID-safj-r9a5-1kdd",
            "summary": "Aim is an open-source, self-hosted machine learning experiment tracking tool. Versions of Aim prior to 3.1.0 are vulnerable to a path traversal attack. By manipulating variables that reference files with “dot-dot-slash (../)� sequences and its variations or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system including application source code or configuration and critical system files. The vulnerability issue is resolved in Aim v3.1.0.",
            "references": [
                {
                    "reference_url": "https://github.com/aimhubio/aim",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim"
                },
                {
                    "reference_url": "https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16"
                },
                {
                    "reference_url": "https://github.com/aimhubio/aim/commit/b9e53df5e32d14bbd3a2c738e2db7187fb531e93",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim/commit/b9e53df5e32d14bbd3a2c738e2db7187fb531e93"
                },
                {
                    "reference_url": "https://github.com/aimhubio/aim/issues/999",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim/issues/999"
                },
                {
                    "reference_url": "https://github.com/aimhubio/aim/pull/1003",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim/pull/1003"
                },
                {
                    "reference_url": "https://github.com/aimhubio/aim/pull/1003/commits/f01266a1a479ef11d7d6c539e7dd89e9d5639738",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim/pull/1003/commits/f01266a1a479ef11d7d6c539e7dd89e9d5639738"
                },
                {
                    "reference_url": "https://github.com/aimhubio/aim/security/advisories/GHSA-8phj-f9w2-cjcc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim/security/advisories/GHSA-8phj-f9w2-cjcc"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2021-839.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2021-839.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43775",
                    "reference_id": "CVE-2021-43775",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43775"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8phj-f9w2-cjcc",
                    "reference_id": "GHSA-8phj-f9w2-cjcc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8phj-f9w2-cjcc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/25213?format=api",
                    "purl": "pkg:pypi/aim@3.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/aim@3.1.0"
                }
            ],
            "aliases": [
                "CVE-2021-43775",
                "GHSA-8phj-f9w2-cjcc",
                "PYSEC-2021-839"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-safj-r9a5-1kdd"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47438?format=api",
            "vulnerability_id": "VCID-sgsk-jtpy-v7fn",
            "summary": "Aim Web API vulnerable to Remote Code Execution\nA critical Remote Code Execution (RCE) vulnerability was identified in the aimhubio/aim project, specifically within the `/api/runs/search/run/` endpoint, affecting versions >= 3.0.0. The vulnerability resides in the `run_search_api` function of the `aim/web/api/runs/views.py` file, where improper restriction of user access to the `RunView` object allows for the execution of arbitrary code via the `query` parameter. This issue enables attackers to execute arbitrary commands on the server, potentially leading to full system compromise.",
            "references": [
                {
                    "reference_url": "https://github.com/aimhubio/aim",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aimhubio/aim"
                },
                {
                    "reference_url": "https://huntr.com/bounties/22f2355e-b875-4c01-b454-327e5951c018",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://huntr.com/bounties/22f2355e-b875-4c01-b454-327e5951c018"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-2195",
                    "reference_id": "CVE-2024-2195",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-2195"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mxvw-cj37-8g2h",
                    "reference_id": "GHSA-mxvw-cj37-8g2h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mxvw-cj37-8g2h"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2024-2195",
                "GHSA-mxvw-cj37-8g2h"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sgsk-jtpy-v7fn"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/aim@3.0.0"
}