this post was submitted on 30 Mar 2024
287 points (98.6% liked)

Privacy

31206 readers
833 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 4 years ago
MODERATORS
 

TL;DR there was a backdoor found in the XZ program. All major distros have been updated but it is recommended that you do a fresh install on systems that are exposed to the internet and that had the bad version of the program. Only upstream distros were affected.

top 42 comments
sorted by: hot top controversial new old
[–] herrcaptain@lemmy.ca 111 points 5 months ago (4 children)

stable release of Arch Linux is also affected. That distribution, however, isn't used in production systems.

Don't tell me how to live my life, Ars Technica.

[–] oo1@kbin.social 38 points 5 months ago (2 children)
[–] herrcaptain@lemmy.ca 42 points 5 months ago (1 children)

They mean a variant you use in a stable, like to run an automatic feeder for horses. According to Ars Technica, however, you are not to use it in your production stable.

[–] oo1@kbin.social 12 points 5 months ago

Yeah, screw em. I use mine to produce lots of stuff.
I try to avoid producing too much manure though.

I think lots of IT people have an extremely limited experience of what it is to produce something.
I mean if opening a ssh hole to the whole world to fuck with is an important part of what they consider "production" - well I'm not really into those types of websites.

[–] testeronious@lemmy.world 2 points 5 months ago

yes, like my marriage

[–] Vegoon@feddit.de 21 points 5 months ago

I am not deep enough in it, but from the arch-announce mailinglist:

From the upstream report [1]:

openssh does not directly use liblzma. However debian and several other distributions patch openssh to support systemd notification, and libsystemd does depend on lzma.

Arch does not directly link openssh to liblzma, and thus this attack vector is not possible. You can confirm this by issuing the following command:

$(command -v sshd)

However, out of an abundance of caution, we advise users to remove the malicious code from their system by upgrading either way. This is because other yet-to-be discovered methods to exploit the backdoor could exist.

https://www.openwall.com/lists/oss-security/2024/03/29/4

[–] possiblylinux127@lemmy.zip 17 points 5 months ago (1 children)

You should not run Arch in production. Boom, I said it

[–] herrcaptain@lemmy.ca 30 points 5 months ago (1 children)

Well I don't see any cops.

[–] EdibleFriend@lemmy.world 9 points 5 months ago (1 children)
[–] herrcaptain@lemmy.ca 37 points 5 months ago (2 children)
[–] oo1@kbin.social 16 points 5 months ago (1 children)

If I pray to you will I be able to get my printer to work?

[–] herrcaptain@lemmy.ca 10 points 5 months ago

There are some things that not even a god has the power to do.

[–] jaypatelani@lemmy.ml 3 points 5 months ago

Made out of Empty cups

[–] eveninghere@beehaw.org 4 points 5 months ago

Ars Technica sounds like a weirdo to me these days. Loves to attack big techs (although understandable), now adds this to their description of Arch.

[–] poVoq@slrpnk.net 43 points 5 months ago (1 children)

This was basically a lucky catch. Sadly makes you wonder how many backdoors like that have not been found (yet). Never the less the distro model of not feeding in upstream binaries directly is an important part of the multi-barrier security.

[–] possiblylinux127@lemmy.zip 8 points 5 months ago* (last edited 5 months ago)

One still could hide something in source code. I think we need to just be more security aware in general. Having source code isn't useful if someone deliberately put a security hole in it

[–] 0xtero@beehaw.org 25 points 5 months ago

Catching this now is pretty huge, because it mainly targets distro build systems. Had this gone undetected, we'd be in shiznit creek couple of years down the line.

[–] claudiom@blendit.bsd.cafe 13 points 5 months ago (2 children)

For those on Android running Termux, it is also affected. Just checked my version of xz-utils and it was 5.6.1. Running "pkg upgrade" will roll back to version 5.4.5 (tagged as "5.6.1+really5.4.5" for both liblzma and xz-utils packages).

[–] possiblylinux127@lemmy.zip 7 points 5 months ago (1 children)

Makes you wonder why Termux ships the latest stuff. It might be smart to allow more time for critical problems to get caught.

[–] RvTV95XBeo@sh.itjust.works 9 points 5 months ago* (last edited 5 months ago)

Probably for the exact same reason this backdoor was introduced. Users complain about slow feature rollouts so (unpaid) devs (maintaining software in their spare time out of the kindness of their hearts) cut corners. In some situations that looks like bringing on a second maintainer without thorough vetting, in others it looks like importing upstream packages without thorough vetting.

Don't blame the Termux devs here, blame the community that keeps pushing them to move faster.

[–] Prethoryn@lemmy.world 3 points 5 months ago (1 children)

So if I am seeing this I am good?

[–] claudiom@blendit.bsd.cafe 1 points 5 months ago

Yeah, that's what mine "upgraded" to. All that update does is rollback to 5.4.5.

[–] autotldr@lemmings.world 10 points 5 months ago

This is the best summary I could come up with:


Researchers have found a malicious backdoor in a compression tool that made its way into widely used Linux distributions, including those from Red Hat and Debian.

An update the following day included a malicious install script that injected itself into functions used by sshd, the binary file that makes SSH work.

So-called GIT code available in repositories aren’t affected, although they do contain second-stage artifacts allowing the injection during the build time.

In the event the obfuscated code introduced on February 23 is present, the artifacts in the GIT version allow the backdoor to operate.

“This could break build scripts and test pipelines that expect specific output from Valgrind in order to pass,” the person warned, from an account that was created the same day.

The malicious versions, researchers said, intentionally interfere with authentication performed by SSH, a commonly used protocol for connecting remotely to systems.


The original article contains 810 words, the summary contains 146 words. Saved 82%. I'm a bot and I'm open source!

[–] hellfire103@lemmy.ca 6 points 5 months ago (2 children)

Just makes you wonder what else (if anything) is backdoored. I am seriously 🤏 this close to just switching all of my boxes over to OpenBSD.

The last time someone over there was approached about backdooring a related piece of software (which they refused), the OpenBSD devs manually screened the entire codebase, just in case something got in.

Really, the only things I'd miss would be Minecraft, KDE, and Mullvad Browser; and of course I'd have to buy a couple more WiFi dongles (or learn how to port drivers from Linux).

[–] possiblylinux127@lemmy.zip 6 points 5 months ago (1 children)

I honestly think BSD has the potential to be worse due lack of people. I think the best option is to not be paranoid as a user. If someone needs to be paranoid it is the maintainers.

[–] BreakDecks@lemmy.ml 1 points 5 months ago (2 children)

I think the best option is to not be paranoid as a user.

Yeah, just never be a dissident, or a whistleblower, or an activist, or a member of a vulnerable marginalized group. Remember, if you obey there's no reason to fear being spied on.

I really don't think you understand how serious this kind of backdoor is. It puts certain people in real danger.

[–] Rykzon@discuss.tchncs.de 1 points 5 months ago (1 children)

And I don't think you understand OPs point. Of course you should be paranoid as a person like that, but most users aren't targets. If you, as a regular user, get this paranoid about using computers, maybe you should evaluate your priorities.

[–] BreakDecks@lemmy.ml 1 points 5 months ago

If you, as a regular user, get this paranoid about using computers, maybe you should evaluate your priorities.

"Regular user" seems to be a strange counter to all the people I just listed that would be affected here. I'm not worried about myself, I'm worried about the people whose privacy and security is extremely important in this context.

[–] possiblylinux127@lemmy.zip -1 points 5 months ago (1 children)

These people do not seem to be affected unless they run Arch for some reason.

[–] BreakDecks@lemmy.ml 1 points 5 months ago (1 children)

That's only the case because it was caught fast. That was lucky.

[–] possiblylinux127@lemmy.zip 1 points 5 months ago

Most definitely

[–] Scolding0513@sh.itjust.works 1 points 5 months ago

BSD is the way to go for ultimate security imo, but the lack of software support makes it difficult for even the average techie.