ERROR: rejecting excluded file-list name

Bug #2002918 reported by Heitor Moreira
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rsync
Unknown
Unknown
rsync (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Problems related to --exclude and --filter=protect options are raising error while execution of rsync.

The following error is launched:
ERROR: rejecting excluded file-list name:
rsync error: protocol incompatibility (code 2) at flist.c(994) [receiver=3.2.5]
rsync: [sender] write error: Broken pipe (32)

It was already reported in: https://github.com/WayneD/rsync/issues/375
There is also a patch released.

---

lsb_release -rd
Description: Ubuntu 22.10
Release: 22.10

apt-cache policy rsync
rsync:
  Instalado: 3.2.5-1
  Candidato: 3.2.5-1

CVE References

description: updated
summary: - ERROR: rejecting excluded file-list name:
+ ERROR: rejecting excluded file-list name
Revision history for this message
Juerg Haefliger (juergh) wrote :

Yes, it's horribly broken :-(

Changed in rsync (Ubuntu):
status: New → Confirmed
Revision history for this message
Paride Legovini (paride) wrote :

Hello, I didn't go into the specifics of the bug, but according to LP: #2007837 the security team (Cc: mdeslaur) is going to release rsync 3.2.7 to jammy and kinetic as a security update, so this bug should get fixed too.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rsync - 3.2.7-0ubuntu0.22.10.1

---------------
rsync (3.2.7-0ubuntu0.22.10.1) kinetic-security; urgency=medium

  * SECURITY REGRESSION: multiple issues (LP: #2002918)
    - Updated to 3.2.7 to fix multiple regressions with the CVE-2022-29154
      fixes that went into 3.2.5.
    - debian/patches: Added two additional upstream patches:
      + trust_the_sender_on_a_local_transfer.patch
      + avoid_quoting_of_tilde_when_its_a_destination_arg.patch

 -- Marc Deslauriers <email address hidden> Mon, 27 Feb 2023 14:17:14 -0500

Changed in rsync (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Mickaël LAMBERT (mkl1) wrote :

Hello Everyone !

I hope you're doing fine !

I have a seemly identical bug on Ubuntu 22.04.(1/2?) using rsync_3.2.7-0ubuntu0.22.04.2_amd64.deb.

Doing :

rsync --verbose --recursive --times --links --safe-links --hard-links --stats \
--files-from=/tmp/file_list rsync://rsync.ourserver.internal.bla/somepath /tmp/.

file_list contains alike :
../.the_directory/the_file
../.the_directory/another_file

I got :
ERROR: rejecting unrequested file-list name: .the_directory
rsync error: requested action not supported (code 4) at flist.c(1000) [Receiver=3.2.7]

Work correctly using rsync_3.2.3-8ubuntu3.1_amd64.deb.

Does this fix makes it to the Ubuntu 22.04.x repos?

Thanks in advance,
Have a nice day !

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Please file a new bug for that issue, this bug is unrelated to the issue you are having, and is closed. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.