-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are the prebuilt binaries affected by xz/liblzma backdoor? #207
Comments
Thanks for raising this issue! I literally just read about the incident a few minutes ago. I'm not familiar enough with the details to fully understand if having the malicious code in the prebuilt binaries would even be an issue — as far as I understand, the code checks Anyhow, the prebuilt binaries have all been built on Ubuntu 23.04 and 23.10, which both use In fact you can check the versions of (some of) the libraries:
So you can see that it's linked against version 5.4.1 of Fingers crossed that pre-5.6.0 versions of |
Also, it seems the malicious code only sneaks into |
I've read that too, but long after opening this issue as I focused on the deobfuscated script. Sorry for the false alarm. Additionally, the backdoor would only install if dwarfs was built as a deb or rpm package, not if built with manual cmds or with Arch's makepkg, nix, etc. The reproducible builds from Archlinux apparently prove that the binaries from the 5.6.1 tarball version are identical from the one which now uses the git tag.
I only checked the dwarfs binary with OT, but maybe it'll help someone:
It only happens when distros patch sshd with a patch that uses libsystemd to message the systemd-inotify socket, which is not recommended by systemd upstream. They state that you should write you should communicate via the socket interface directly. Archlinux (&maybe nix, Guix, Alpine, don't know) didn't apply this patch and therefor sshd doesn't depend on libsystemd. |
Sorry, I'm having a hard time following your train of thought in this paragraph...
Are you asking where
I could certainly add the version information to all tools linking against compression libs. The information could even be added as part of the history in a DwarFS image. |
It's badly articulated. I tried to find a version number for lzma in the
If there isn't any reason why it's only in |
Done. As of the next release, all tools will display relevant dependencies, e.g.:
Also,
|
I tried to investigate, but seems like the static linking doesn't leave any version info behind. From the release date they could have been linked against version 5.6.0, so they may be compromised.
Edit: Also, if you're ever feel you don't have the time or capacity to review a PR thoroughly or want a second view, feel free to tag me.
The text was updated successfully, but these errors were encountered: