In this Linux Kung Fu thread there is a report for this, but this applies to the Mac as well if you use homebrew. Please run
If you have other package managers, please add below what action you took. As far as I know there is no xz tool installed by default on macOS.
brew update; brew upgrade
immediately if you have homebrew installed. This will downgrade the xz and the lzma library to a version that is not backdoored. If you have other package managers, please add below what action you took. As far as I know there is no xz tool installed by default on macOS.