CyberRota Analysis
AI-GeneratedThe MidnightBSD Package Manager is vulnerable due to inadequate validation of bundle filenames, which can lead to arbitrary file write vulnerabilities. Attackers could exploit this flaw by injecting malicious package index data, potentially allowing files to be written outside the intended cache location, posing a significant security risk. Organizations using versions prior to 2.7.8 should prioritize upgrading to mitigate the risk of unauthorized file access and potential system compromise.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/fetch.c did not consistently reject empty, dot, dot-dot, or slash-containing bundle filenames before composing package download and write paths. Malicious package index data could place an unsafe value in indexEntry->bundlefile, and the missing is_valid_bundle_filename() checks allowed downloaded package data to be written outside the intended cache location or to an unsafe destination name. This issue is fixed in version 2.7.8.