CVE-2024-3848
NixOS vulnerability analysis and mitigation

Overview

A path traversal vulnerability (CVE-2024-3848) was discovered in mlflow/mlflow version 2.11.0. This vulnerability is identified as a bypass for the previously addressed CVE-2023-6909. The issue affects the application's handling of artifact URLs and was disclosed on May 16, 2024 (NVD).

Technical details

The vulnerability stems from improper handling of artifact URLs where a '#' character can be used to insert a path into the fragment, effectively bypassing validation. When processed, the application ignores the protocol scheme and uses the provided path for filesystem access. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability allows attackers to read arbitrary files on the system, including sensitive information such as SSH and cloud keys. This is achieved by exploiting the way the application converts the URL into a filesystem path, leading to unauthorized access to sensitive system files (NVD).

Mitigation and workarounds

The vulnerability has been patched in a subsequent release. The fix involves implementing proper validation of URL fragments and preventing the use of fragment components in artifact locations. The patch is available in the repository commit (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management