Description
A security vulnerability has been detected in npitre cramfs-tools up to 2.1. Affected is the function do_directory of the file cramfsck.c of the component Directory Handler. Such manipulation leads to path traversal. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. Upgrading to version 2.2 is able to address this issue. The name of the patch is 2fc492747115b24d8a07eddd27a2d45229cb273c. Upgrading the affected component is recommended.
Problem types
Product status
2.1
2.2
Timeline
| 2026-05-10: | Advisory disclosed |
| 2026-05-10: | VulDB entry created |
| 2026-05-10: | VulDB entry last update |
Credits
nich0las (VulDB User)
References
vuldb.com/vuln/362571 (VDB-362571 | npitre cramfs-tools Directory cramfsck.c do_directory path traversal)
vuldb.com/vuln/362571/cti (VDB-362571 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/810864 (Submit #810864 | GNU cramfs-tools V2.1 Improper Limitation of a Pathname to a Restricted Directory)
github.com/npitre/cramfs-tools/issues/12
github.com/npitre/cramfs-tools/issues/12
github.com/...ommit/2fc492747115b24d8a07eddd27a2d45229cb273c
github.com/npitre/cramfs-tools/releases/tag/v2.2
github.com/npitre/cramfs-tools/