| tiêu đề | GNU cramfs-tools below v2.2 Symlink Following |
|---|
| Mô tả | GNU cramfs-tools is a set of utilities for managing the Cramfs (Compressed ROM File System), a lightweight, read-only Linux file system optimized for space efficiency and low memory usage. It includes mkcramfs/mkfs.cramfs to create Cramfs images from directories, and cramfsck to verify integrity or extract contents.
cramfs-tools cramfsck contains a hostile-prestate filesystem issue in continue-on-error mode (-c): if the chosen extraction directory already exists as a symlink, cramfsck -x records the mkdir() failure but still continues extraction and performs filesystem writes through the symlink target, outside the intended destination directory.
This aligns with CWE-59: Improper Link Resolution Before File Access. |
|---|
| Nguồn | ⚠️ https://github.com/npitre/cramfs-tools/issues/13 |
|---|
| Người dùng | nich0las (UID 51709) |
|---|
| Đệ trình | 24/04/2026 04:52 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 17/05/2026 11:59 (23 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 364408 [npitre cramfs-tools đến 2.2 cramfsck.c change_file_status nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|