The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character in an xattr name, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon.
https://www.debian.org/security/2017/dsa-4068
https://usn.ubuntu.com/3543-2/
https://usn.ubuntu.com/3543-1/
https://lists.debian.org/debian-lts-announce/2017/12/msg00020.html
https://git.samba.org/rsync.git/?p=rsync.git%3Ba=commit%3Bh=47a63d90e71d3e19e0e96052bb8c6b9cb140ecc1