CVE-2026-54585:详情

CVE-2026-54585

2026-09-17
17h16 +00:00
Directory Traversal
A01-Broken Access Control
2026-09-17
21h15 +00:00
指定 CVE 通知
随时了解指定 CVE 的变更。
管理通知

CVE 描述

mport is the MidnightBSD Package Manager. Prior to 2.7.8, create_sample_file() in libmport/bundle_read_install_pkg.c did not constrain absolute source and destination paths from the sample-file manifest directive to mport->root. A malicious or malformed package manifest could therefore direct privileged sample-file handling to copy or write outside the configured installation root, compromising local filesystem integrity. This issue is fixed in version 2.7.8.

CVE 信息

相关弱点

CWE-ID 弱点名称 来源
CWE-22 Improper Limitation of a Pathname to a Restricted Directory
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.

参考资料