Description
OpenSave through 2.4.0 fails to properly validate save paths supplied by paired peers in the manifest request handler. Attackers can specify arbitrary directories outside configured save locations to read and write files through manifest and sync routes.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Liquid-co OpenSave
Default version status: unaffected
0 to ≤ 2.4.0affected
pkg:github/Liquid-co/OpenSaveReferences
- https://gist.github.com/mansurmavlankulov/2ca66f95965fb9d4aab353bcf2434cdb ↗
- https://github.com/Liquid-co/OpenSave/blob/v2.4.0/internal/p2p/routes.go#L555-L566 ↗
- https://github.com/Liquid-co/OpenSave/blob/v2.4.0/internal/delta/rootguard.go#L16-L30 ↗
- https://github.com/Liquid-co/OpenSave ↗
- https://www.vulncheck.com/advisories/opensave-through-2.4.0-arbitrary-file-read-and-write-via-peer-controlled-save-path ↗