Cross-posting this from EF:
Also note:
Cross-posting this from EF:
Also note:
Also mentioned by bot on devtalk:
@AstonJ is there an βofftopicβ tag you can use and I can filter on?
As someone already posted somewhere, a version check which involves executing the possibly infected binary is not advisable.
Better use the package manager of your Linux distribution, like
dpkg -l β*xz*β
or rpm -qa | grep xz
Hi @jimdigriz, usually anything off-topic is posted in our members-only section, however since this has been listed as an Erlang/Elixir dependency it has been posted in Erlang Chat (and pinned on request of @eiji7). Iβm away from my computer atm so havenβt checked but if it is not an Erlang dependency in any way then we can move the thread to the Elixir or BEAM Chat section.
$ equery belongs /usr/bin/xz
* Searching for /usr/bin/xz ...
app-arch/xz-utils-5.4.2 (/usr/bin/xz)
In Gentoo
the package responsible for xz
library is xz-utils
. Itβs not a direct dependency of erlang
, but β¦
sys-libs/gpm
(Console-based mouse driver)sys-libs/ncurses
- with gpm
USE FLAG enabled, so I guess most if not all binary releases in other distributions have mouse support enabledsys-libs/ncurses
is a direct dependency of dev-lang/erlang
There is a terrible (1065) amount of packages that requires sys-libs/ncurses
If you are not familiar with web page then on Gentoo
you can check it using:
# adjust depth of dependency tree to be returned (default is 1 i.e. it lists only direct dependencies)
equery depgraph erlang --depth=3 | grep xz-utils
While on Gentoo
more or less you can control what parts of apps and libraries you want to install on binary distributions there is no way that a typical Erlang
developer never uses ncurses
-based apps like htop
, nano
, links
and many, many more β¦ Since as far as I know itβs still unclear what are all exact cases in which malicious code is called I would say thatβs more than enough to keep it in this category at least from a Gentoo
user perspective.
Thatβs said xz-utils
is only part of the BDEPEND
inside sys-libs/gpm
, so it may be not related in binary distributions:
Build dependencies are used to specify any dependencies that are required to unpack, patch, compile, test or install the package (but see Implicit System Dependency for exemptions).
Source: Build Dependencies
Even so the binary
releases have to be compiled by someone anyway and then there is a chance that pre-compiled binary releases are also affected which is especially important in Gentoo
-based distributions.
Iβve updated the title slightly to make it more specific
Checking homebrew:
$ brew deps --tree --installed erlang
erlang
βββ openssl@3
β βββ ca-certificates
βββ unixodbc
β βββ libtool
β βββ m4
βββ wxwidgets
βββ jpeg-turbo
βββ libpng
βββ libtiff
β βββ jpeg-turbo
β βββ xz
β βββ zstd
β βββ lz4
β βββ xz
βββ pcre2
$ brew deps --tree --installed elixir
elixir
βββ erlang
βββ openssl@3
β βββ ca-certificates
βββ unixodbc
β βββ libtool
β βββ m4
βββ wxwidgets
βββ jpeg-turbo
βββ libpng
βββ libtiff
β βββ jpeg-turbo
β βββ xz
β βββ zstd
β βββ lz4
β βββ xz
βββ pcre2
Also added your comment to the first post @dischoen
Here is a Package Management Cheatsheet on DistroWatch
site with 23 package managers grouped by categories.
btw. cheers for Slackware users
# List installed packages
ls /var/log/packages/