Description
A vulnerability was detected in npitre cramfs-tools up to 2.2. Affected is the function change_file_status of the file cramfsck.c. Performing a manipulation results in symlink following. The attack requires a local approach. The exploit is now public and may be used. The patch is named b4a3a695c9873f824907bd15659f2a6ac7667b4f. It is recommended to apply a patch to fix this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| npitre | cramfs-tools | 2.0, 2.1, 2.2 | — |
References
- VDB-364408 | npitre cramfs-tools cramfsck.c change_file_status symlink vdb-entry technical-description
- VDB-364408 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #811897 | GNU cramfs-tools below v2.2 Symlink Following third-party-advisory
- https://github.com/npitre/cramfs-tools/issues/13 exploit issue-tracking
- https://github.com/npitre/cramfs-tools/issues/13#issuecomment-4306102583 issue-tracking
- https://github.com/npitre/cramfs-tools/commit/b4a3a695c9873f824907bd15659f2a6ac7667b4f patch
- https://github.com/npitre/cramfs-tools/ product