diff --git a/changelog/unreleased/issue-22178 b/changelog/unreleased/issue-22178 index eb511426b..5388e5e22 100644 --- a/changelog/unreleased/issue-22178 +++ b/changelog/unreleased/issue-22178 @@ -1,4 +1,4 @@ -Bugfix: Fix ownership when `restore --ownership-by-name` cannot resolve names +Security: Fix ownership when `restore --ownership-by-name` cannot resolve names When restoring with `--ownership-by-name`, user or group names that could not be resolved on the restore host (or were not recorded in the snapshot) caused diff --git a/changelog/unreleased/issue-22180 b/changelog/unreleased/issue-22180 index f2305cce5..bf40fe290 100644 --- a/changelog/unreleased/issue-22180 +++ b/changelog/unreleased/issue-22180 @@ -1,4 +1,4 @@ -Bugfix: Reject trees with duplicate or out-of-order node names in `restore` +Security: Reject duplicate or out-of-order node names during `restore` A tree containing a symlink and a directory with the same name could let `restore` write through the symlink to files outside the restore target. @@ -6,5 +6,8 @@ A tree containing a symlink and a directory with the same name could let Restic now rejects trees whose node names are not strictly increasing during restore and reports an error instead of restoring such a snapshot. +Thanks to Mario Ramos (@marrionesa), Zachariah Mithani (AploSec), +Manuel Riel (@m3nu) and calif.io for reporting this. + https://github.com/restic/restic/issues/22180 https://github.com/restic/restic/pull/22190