Distro advisory · Fedora 43
btrfs-backup-ng-0.9.20-2.fc43
Description
Update to 0.9.20. This replaces the 0.9.19 update before it reached testing. It carries the 0.9.17 security fix (GHSA-5xvm-66c9-p5ph), the 0.9.18 fix for 0.9.17's btrfs lock regression, three concurrency and accounting fixes from 0.9.19, and 0.9.20's fix for the shared-lock retry bound, which the previous Fedora build carried as a patch. 0.9.17 through 0.9.19 were not shipped to this release.
Security: the lock store created directories, wrote holder records and read them back with operations that followed a symbolic link. If the lock-store directory on a backup location was writable by another local account, a planted symlink could redirect those writes and reads; with a backup run as root, as a scheduled backup usually is, that let a less privileged local user steer a root write or read. Locally the lock store now works on O_NOFOLLOW file descriptors, and over ssh each directory component is created with a plain mkdir, records are written under set -C, and a record that is a link or not a regular file is refused.
Breaking: a lock-store directory writable by its group or by everyone is now refused with an error naming the directory and the remedy (chmod go-w <path>). A store created by an earlier version under an interactive umask 002 is mode 0775 and will be refused until tightened; stores created by a root timer or over ssh are 0755 and unaffected. New stores are created 0755 regardless of umask.
Also fixed since 0.9.16:
No configuration or on-disk format changes. This…
Manual fix · Fedora 43
sudo dnf upgrade btrfs-backup-ngrpm -q btrfs-backup-ng