CVE-2026-54582:详情

CVE-2026-54582

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

CVE 描述

mport is the MidnightBSD Package Manager. Prior to 2.7.8, package installation lacked a preflight check for incoming non-directory assets that already existed on disk. The affected logic across libmport/check_preconditions.c, libmport/install_primative.c, and libmport/mport_private.h did not apply MPORT_PRECHECK_FILE_CONFLICTS, so a crafted or conflicting package could overwrite a file owned by another package or unmanaged by mport. The check is bypassed only when the operator explicitly enables mport->force. Privileged installation without that override could compromise local filesystem integrity and package database consistency. This issue is fixed in version 2.7.8.

CVE 信息

相关弱点

CWE-ID 弱点名称 来源
CWE-73 External Control of File Name or Path
The product allows user input to control or influence paths or file names that are used in filesystem operations.
CWE-668 Exposure of Resource to Wrong Sphere
The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

参考资料