ApostropheCMS: Path traversal in uploadfs
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmuploadfs |
< 1.28.0→ 1.28.0 |
1.28.0 |
| apostrophecmsapostrophe | — | Not listed |
| apostrophecmsuploadfs | — | Not listed |
Original description The description as published by the source.
ApostropheCMS is an open-source Node.js content management system, and uploadfs is its file storage library. Prior to uploadfs 1.28.0, attacker-controlled paths that reach the local backend can contain parent-directory segments that escape the configured upload directory and affect file reads, writes, and deletion on the host filesystem. Exploitability depends on an application exposing the relevant uploadfs operations to untrusted path. This issue is fixed in uploadfs 1.28.0.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com