Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19912?format=api",
    "vulnerability_id": "VCID-76zk-ent1-myc9",
    "summary": "mlflow vulnerable to Path Traversal\nA path traversal vulnerability exists in the mlflow/mlflow repository, specifically within the artifact deletion functionality. Attackers can bypass path validation by exploiting the double decoding process in the `_delete_artifact_mlflow_artifacts` handler and `local_file_uri_to_path` function, allowing for the deletion of arbitrary directories on the server's filesystem. This vulnerability is due to an extra unquote operation in the `delete_artifacts` function of `local_artifact_repo.py`, which fails to properly sanitize user-supplied paths. The issue is present up to version 2.9.2, despite attempts to fix a similar issue in CVE-2023-6831.",
    "aliases": [
        {
            "alias": "CVE-2024-1560"
        },
        {
            "alias": "GHSA-5mvj-wmgj-7q8c"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/37171?format=api",
            "purl": "pkg:pypi/mlflow@2.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qe9-6ecs-syek"
                },
                {
                    "vulnerability": "VCID-6tvx-kzfy-xfhv"
                },
                {
                    "vulnerability": "VCID-6x4v-udkg-z3es"
                },
                {
                    "vulnerability": "VCID-76zk-ent1-myc9"
                },
                {
                    "vulnerability": "VCID-8kf8-a6w5-m3b5"
                },
                {
                    "vulnerability": "VCID-96st-1wwr-4ken"
                },
                {
                    "vulnerability": "VCID-gr3d-61ds-j7ej"
                },
                {
                    "vulnerability": "VCID-njg8-d2r5-rfax"
                },
                {
                    "vulnerability": "VCID-pugd-v7em-sbec"
                },
                {
                    "vulnerability": "VCID-qnyj-3qc7-p7bp"
                },
                {
                    "vulnerability": "VCID-r2kq-hqdf-6ugh"
                },
                {
                    "vulnerability": "VCID-r9df-3b7p-jfcy"
                },
                {
                    "vulnerability": "VCID-s2ry-vd94-qfc6"
                },
                {
                    "vulnerability": "VCID-utmm-2j11-eyh6"
                },
                {
                    "vulnerability": "VCID-xge2-eqq3-7bb9"
                },
                {
                    "vulnerability": "VCID-ya6d-ny22-ybdh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mlflow@2.9.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-1560",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28524",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-1560"
        },
        {
            "reference_url": "https://github.com/mlflow/mlflow",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mlflow/mlflow"
        },
        {
            "reference_url": "https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-08-09T19:53:39Z/"
                }
            ],
            "url": "https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1560",
            "reference_id": "CVE-2024-1560",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1560"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5mvj-wmgj-7q8c",
            "reference_id": "GHSA-5mvj-wmgj-7q8c",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-5mvj-wmgj-7q8c"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-76zk-ent1-myc9"
}