fl0l0u
981cd1e4e1
format: the index does not get to reach outside the model dir
...
hfget screens the names a repository LISTING carries, but the shard
index is one of those listed files, and nothing screened what its
weight_map names. An index of "../../etc/passwd" led the loader to open
that path -- outside the model directory, as the serving user -- and a
directory merging two checkpoints has every reason to hold a real index.
shard_name_ok now reads every weight_map value before the first open:
no absolute name, no empty, "." or ".." component; relative subdirs,
which real repos do use, still pass. The refusal names the index and
the offending shard. A checkpoint_test case opens a poisoned index in
six shapes and the honest one once, and only the honest one reads.
2026-11-15 20:38:09 +00:00
..
2026-10-30 22:01:01 +01:00
2026-11-14 22:32:28 +01:00
2026-11-04 18:56:58 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-10-30 22:01:01 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-10-16 18:25:18 +02:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 20:38:09 +00:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 20:38:09 +00:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-03 14:35:30 -05:00
2026-11-03 13:56:46 -05:00
2026-11-03 13:56:46 -05:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 20:38:09 +00:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-11-15 20:38:09 +00:00
2026-10-16 18:25:18 +02:00
2026-11-04 07:20:29 +01:00
2026-11-04 07:21:07 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-10-28 12:48:13 +01:00
2026-11-15 16:00:05 +01:00
2026-10-22 11:06:34 +02:00
2026-10-22 11:06:34 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-31 07:50:43 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-25 12:09:29 +01:00
2026-10-25 10:55:27 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-11-15 20:38:09 +00:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-11-04 22:08:53 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-12 11:46:14 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 20:52:09 -05:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-29 00:44:13 -04:00
2026-10-16 18:25:18 +02:00
2026-10-28 00:33:55 -04:00
2026-10-16 18:25:18 +02:00
2026-11-04 07:20:29 +01:00
2026-11-15 16:00:05 +01:00
2026-10-22 11:06:34 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-28 23:44:38 -04:00
2026-10-12 11:46:14 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 09:47:42 -03:00
2026-10-30 09:47:42 -03:00
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-20 07:04:01 +00:00
2026-10-04 12:02:41 +02:00
2026-11-15 16:00:05 +01:00
2026-10-24 13:12:28 +02:00
2026-11-15 16:00:05 +01:00
2026-10-30 09:47:42 -03:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-11-15 16:00:05 +01:00
2026-10-20 07:04:01 +00:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-28 12:48:13 +01:00
2026-10-26 15:22:39 +01:00
2026-10-30 22:01:01 +01:00
2026-10-30 22:01:01 +01:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-11-14 22:32:28 +01:00
2026-10-19 13:37:01 +02:00
2026-11-15 16:00:05 +01:00
2026-11-04 22:08:53 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-20 07:06:18 +00:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-30 21:32:03 -05:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 20:38:09 +00:00
2026-11-14 22:32:28 +01:00
2026-11-02 18:35:02 +01:00
2026-11-04 22:08:06 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-03 13:53:26 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:26 -05:00
2026-11-14 22:32:28 +01:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:26 -05:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-27 18:37:28 +01:00
2026-10-27 18:37:28 +01:00
2026-10-30 22:01:01 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-18 11:38:37 +02:00
2026-10-29 13:45:18 -04:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-11-03 19:07:34 +01:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 13:12:28 +02:00
2026-10-31 07:50:43 +01:00
2026-11-04 18:56:58 +01:00
2026-10-20 07:04:01 +00:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-31 07:50:43 +01:00
2026-10-28 12:37:10 +01:00
2026-11-04 18:56:58 +01:00
2026-11-14 22:32:28 +01:00
2026-10-18 11:38:37 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00