pysec-2024-242
Vulnerability from pysec
A Local File Inclusion (LFI) vulnerability was identified in mlflow/mlflow, specifically in version 2.9.2, which was fixed in version 2.11.3. This vulnerability arises from the application's failure to properly validate URI fragments for directory traversal sequences such as '../'. An attacker can exploit this flaw by manipulating the fragment part of the URI to read arbitrary files on the local file system, including sensitive files like '/etc/passwd'. The vulnerability is a bypass to a previous patch that only addressed similar manipulation within the URI's query string, highlighting the need for comprehensive validation of all parts of a URI to prevent LFI attacks.
Name | purl |
---|---|
mlflow | pkg:pypi/mlflow |
{ affected: [ { package: { ecosystem: "PyPI", name: "mlflow", purl: "pkg:pypi/mlflow", }, ranges: [ { events: [ { introduced: "0", }, { fixed: "96f0b573a73d8eedd6735a2ce26e08859527be07", }, { fixed: "96f0b573a73d8eedd6735a2ce26e08859527be07", }, ], repo: "https://github.com/mlflow/mlflow", type: "GIT", }, { events: [ { introduced: "0", }, { fixed: "2.11.3", }, ], type: "ECOSYSTEM", }, ], versions: [ "0.0.1", "0.1.0", "0.2.0", "0.2.1", "0.3.0", "0.4.0", "0.4.1", "0.4.2", "0.5.0", "0.5.1", "0.5.2", "0.6.0", "0.7.0", "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.9.0.1", "0.9.1", "1.0.0", "1.1.0", "1.1.1.dev0", "1.10.0", "1.11.0", "1.12.0", "1.12.1", "1.13", "1.13.1", "1.14.0", "1.14.1", "1.15.0", "1.16.0", "1.17.0", "1.18.0", "1.19.0", "1.2.0", "1.20.0", "1.20.1", "1.20.2", "1.21.0", "1.22.0", "1.23.0", "1.23.1", "1.24.0", "1.25.0", "1.25.1", "1.26.0", "1.26.1", "1.27.0", "1.28.0", "1.29.0", "1.3.0", "1.30.0", "1.30.1", "1.4.0", "1.5.0", "1.6.0", "1.7.0", "1.7.1", "1.7.2", "1.8.0", "1.9.0", "1.9.1", "2.0.0", "2.0.0rc0", "2.0.1", "2.1.0", "2.1.1", "2.10.0", "2.10.1", "2.10.2", "2.11.0", "2.11.1", "2.11.2", "2.2.0", "2.2.1", "2.2.2", "2.3.0", "2.3.1", "2.3.2", "2.4.0", "2.4.1", "2.4.2", "2.5.0", "2.6.0", "2.7.0", "2.7.1", "2.8.0", "2.8.1", "2.9.0", "2.9.1", "2.9.2", ], }, ], aliases: [ "CVE-2024-2928", ], details: "A Local File Inclusion (LFI) vulnerability was identified in mlflow/mlflow, specifically in version 2.9.2, which was fixed in version 2.11.3. This vulnerability arises from the application's failure to properly validate URI fragments for directory traversal sequences such as '../'. An attacker can exploit this flaw by manipulating the fragment part of the URI to read arbitrary files on the local file system, including sensitive files like '/etc/passwd'. The vulnerability is a bypass to a previous patch that only addressed similar manipulation within the URI's query string, highlighting the need for comprehensive validation of all parts of a URI to prevent LFI attacks.", id: "PYSEC-2024-242", modified: "2025-04-08T10:23:24.995743+00:00", published: "2024-06-06T19:15:55+00:00", references: [ { type: "EVIDENCE", url: "https://huntr.com/bounties/19bf02d7-6393-4a95-b9d0-d6d4d2d8c298", }, { type: "FIX", url: "https://github.com/mlflow/mlflow/commit/96f0b573a73d8eedd6735a2ce26e08859527be07", }, { type: "FIX", url: "https://huntr.com/bounties/19bf02d7-6393-4a95-b9d0-d6d4d2d8c298", }, { type: "REPORT", url: "https://huntr.com/bounties/19bf02d7-6393-4a95-b9d0-d6d4d2d8c298", }, { type: "WEB", url: "https://huntr.com/bounties/19bf02d7-6393-4a95-b9d0-d6d4d2d8c298", }, ], severity: [ { score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", type: "CVSS_V3", }, ], }
Log in or create an account to share your comment.
This schema specifies the format of a comment related to a security advisory.
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.