| Summary: | CVE-2022-29154 patch introduced a bug in rsync with file lists that don't end with a newline (Was:Luckybackup bug with new version of rsync) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Etienne Etienne <etienne15000> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | fri, marja11, nicolas.salguero, smelror, yvesbrungard |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/WayneD/rsync/issues/350 | ||
| Whiteboard: | MGA8TOO | ||
| Source RPM: | rsync-3.2.2-2.1.mga8, rsync-3.2.5-1.mga9 | CVE: | |
| Status comment: | |||
|
Description
Etienne Etienne
2022-09-01 21:23:47 CEST
Thank you for the report FWIW you could have used urpmi --downgrade --search-media 'Release' rsync to easily downgrade to the version in Mageia release media :) CC:
(none) =>
fri This looks very much like: https://github.com/WayneD/rsync/issues/350 https://github.com/WayneD/rsync/issues/356 https://github.com/WayneD/rsync/issues/360 are about the same issue Issue 350's summary: Regression: files in the --files-from list are randomly rejected after the CVE-2022-29154 patch In issue 360 it is explained: > If you have a file-list that contains at least two items and no newline at the > end, rsync 3.2.5 will refuse to sync the final item in the file list. > Workaround is to add a final newline. The patch for newer rsync than our Mga8 one is here: https://github.com/WayneD/rsync/commit/a182507bef2d0cd92052b3c5ebaf1d98278e0dad And Wayne writes in issue 356 how he thinks older rsync versions should be fixed, other than just cherry-picking this patch :-þ https://github.com/WayneD/rsync/issues/356#issuecomment-1220044765 (I assume all previous security patches were already applied, so that that comment be ignored) rsync 3.2.6 will be released soon and contain the fix Assigning to all packagers collectively, since this package has no registered maintainer. CC:
(none) =>
marja11, nicolas.salguero, smelror New rsync 3.2.6 is just published However tests fails when applying this patch: %__patch -p1 -b -z .dir-del < patches/backup-dir-dels.diff acl_patch doesn't exist anymore. CC:
(none) =>
yves.brungard_mageia 3.2.6 is building: - disabling patches/backup-dir-dels.diff because test "backup" fails with it - disabling acl_patch which no more exists I don't know what was the aim of these patches. I applied also a patch from commit a739b1289bbba7bd56caeb7b06d9b7f1883c0a3b which should really fix this bug. To test: rsync-3.2.6-1.mga9 Anything to test on mga8? |