SnapOtter and GitHub
43334324c4
fix(api): contain library stored-name path traversal ( #600 )
...
The library file-storage helpers joined FILES_STORAGE_PATH with a database stored_name and never checked containment, so a crafted name could read or delete files outside the storage root after a malicious 1.x SQLite import (which copies stored_name verbatim). Add assertSafeStoredName() and apply it in every helper that resolves a stored name to a path, matching the containment guard object-storage already uses.
Reported by Alpesh Bhagwatkar.
2026-07-21 07:30:46 +00:00
..
2026-07-17 01:51:48 +00:00
2026-07-13 14:23:16 +08:00
2026-07-13 14:23:16 +08:00
2026-07-11 19:53:00 +08:00
2026-07-11 19:53:00 +08:00
2026-06-14 14:53:44 +08:00
2026-06-20 10:50:20 +08:00
2026-06-29 16:09:30 +08:00
2026-06-29 17:54:12 +08:00
2026-07-04 05:46:52 +00:00
2026-07-13 14:23:16 +08:00
2026-06-14 14:53:44 +08:00
2026-07-16 22:50:11 +08:00
2026-07-17 01:51:48 +00:00
2026-07-03 09:54:02 +08:00
2026-06-29 17:54:12 +08:00
2026-07-15 03:34:24 +08:00
2026-07-15 03:34:24 +08:00
2026-07-21 07:30:46 +00:00
2026-06-15 22:26:24 +08:00
2026-06-16 18:04:48 +08:00
2026-07-15 03:34:24 +08:00
2026-06-13 10:19:16 +08:00
2026-07-15 03:34:24 +08:00
2026-07-16 19:26:11 +08:00
2026-07-10 07:32:48 +00:00
2026-06-15 12:53:06 +08:00
2026-06-15 12:53:06 +08:00
2026-07-03 09:54:02 +08:00
2026-06-24 17:27:59 +08:00
2026-07-15 03:34:24 +08:00
2026-07-15 03:34:24 +08:00
2026-07-15 03:34:24 +08:00
2026-07-15 03:34:24 +08:00
2026-07-15 03:34:24 +08:00
2026-07-15 03:34:24 +08:00
2026-07-20 13:17:17 +08:00
2026-07-01 21:50:29 +08:00
2026-07-04 03:05:32 +00:00
2026-06-16 18:04:48 +08:00
2026-07-15 03:34:24 +08:00
2026-07-17 01:51:48 +00:00
2026-07-17 01:51:48 +00:00
2026-06-14 14:30:35 +08:00
2026-07-10 21:41:49 +08:00
2026-06-22 16:58:59 +08:00
2026-06-13 10:19:47 +08:00
2026-06-21 13:47:22 +08:00
2026-07-13 14:23:16 +08:00
2026-07-21 15:22:57 +08:00
2026-07-15 03:34:24 +08:00
2026-07-16 22:50:11 +08:00
2026-06-29 17:54:12 +08:00