CVE-2026-54582 mport package installation can overwrite existing unmanaged or differently owned files
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
MidnightBSD
mport
영향 받는 버전
- 2.7.8 미만
해결 버전
- 2.7.8 이상
참고 자료 4건
- github.com https://github.com/MidnightBSD/mport/commit/c643312d149dcc994957dbafa8f6f6b61e945e39 (새 창)
- github.com https://github.com/MidnightBSD/mport/pull/131 (새 창)
- github.com https://github.com/MidnightBSD/mport/releases/tag/2.7.8 (새 창)
- github.com https://github.com/MidnightBSD/mport/security/advisories/GHSA-5773-7r4r-rpgx (새 창)